code-cookbook
code-cookbook copied to clipboard
[ci] Fix deployment 2
Unlike #178, this doesn't change the way the site is deployed, which caused some DNS issue when migrating nekovm.org. This should get the site deploying again while we figure out how to solve that.
There's no problem anymore with how nekovm is deployed though? I don't think #178 is wrong, and looks less weird than this git user thing :thinking:
There's no problem anymore with how nekovm is deployed though? I don't think https://github.com/HaxeFoundation/code-cookbook/pull/178 is wrong, and looks less weird than this git user thing 🤔
Yeah #178 is the correct solution, but if it is still blocked due to the DNS issues, then this version uses the same gh-pages branch workflow as travis so it should be safe to merge without breaking anything. This could be merged to get deployment working immediately in the meantime, then we can move to the setup in #178 once we are more confident about that.
The git user setup allows pushing/committing from the github-actions[bot] user, which has permission to push from the automated token and doesn't require a PAT being set up as it was previously for the @haxe-ci bot.
No longer needed as #178 has been merged and deployed.