NiklasEi / bevy_game_template

Template for a Bevy game including CI/CD for web, Windows, Linux, macOS, iOS and Android
https://niklasei.github.io/bevy_game_template/
Creative Commons Zero v1.0 Universal
844 stars 89 forks source link

Error on step `Deploy to GitHub Pages` #47

Closed Siiir closed 1 year ago

Siiir commented 1 year ago

I have triggered the deploy-github-page as you instructed in your README.md in header, “Deploy web build to GitHub pages”. Got error message on step Deploy to GitHub Pages.

Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌
Notice: Deployment failed! ❌

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

My fork is https://github.com/Siiir/ArbiGame .

NiklasEi commented 1 year ago

That looks like the action does not have permission to push to your repository. Could you try to make the same changes as 0df43b9 and run the workflow again? If that doesn't help, you can also give actions write permissions for the whole repository in the settings.

Siiir commented 1 year ago

Adding “write permissions” worked. Thx. Y'r great man.