code-cookbook icon indicating copy to clipboard operation
code-cookbook copied to clipboard

[ci] Fix deployment 2

Open tobil4sk opened this issue 1 year ago • 2 comments

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.

tobil4sk avatar Aug 30 '24 21:08 tobil4sk

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:

kLabz avatar Aug 31 '24 07:08 kLabz

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.

tobil4sk avatar Aug 31 '24 07:08 tobil4sk

No longer needed as #178 has been merged and deployed.

tobil4sk avatar May 15 '25 12:05 tobil4sk