You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the latest GitHub Actions official documentation and learned the basic spec and concepts
Describe your question
First time to use this action to deploy one website.
The website is build with Hugo and I want to use actions to do auto deploy on repo github pages.
The action will fail at Deploy stage.
The error message is:
Run peaceiris/actions-gh-pages@v3
Dump inputs
Setup auth token
Prepare publishing assets
Setup Git config
Create a commit
Push the commit or tag
/usr/bin/git push origin gh-pages
remote: Permission to YiGu-Studio/DocsModdingBannerlordCN.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/YiGu-Studio/DocsModdingBannerlordCN.git/': The requested URL returned error: 403
Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
I tried with github_token: ${{ secrets.GITHUB_TOKEN }}
it will throw the error above.
I tried with personal_token: ${{ secrets.PERSONAL_TOKEN }} or deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
it will failed at stage Setup auth token
I even tried with change username and email to my account name. But it still failed.
I post the screen shots of my secrets page in next section.
This issue has been LOCKED because of it being resolved!
The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.
Check list before opening this issue
Describe your question
First time to use this action to deploy one website.
The website is build with Hugo and I want to use actions to do auto deploy on repo github pages.
The action will fail at
Deploy
stage.The error message is:
I tried with
github_token: ${{ secrets.GITHUB_TOKEN }}
it will throw the error above.
I tried with
personal_token: ${{ secrets.PERSONAL_TOKEN }}
ordeploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
it will failed at stage
Setup auth token
I even tried with change username and email to my account name. But it still failed.
I post the screen shots of my secrets page in next section.
Link to your contents
Here is the workflow files.
https://github.com/YiGu-Studio/DocsModdingBannerlordCN/blob/e64547ca8ae8ed77e617ecdf816239de051d3273/.github/workflows/hugo_deploy.yml
The raw log of the workflow is here.
https://pipelines.actions.githubusercontent.com/ReJNjsa4JNo8v6DjAI5NX8yN0RMO8ccdvpMUIOf1CGkDAThal5/_apis/pipelines/1/runs/21/signedlogcontent/3?urlExpires=2020-10-03T00%3A36%3A55.9686007Z&urlSigningMethod=HMACV1&urlSignature=7APdckxxT5kF2pDqog6wZtlzjwFxDteZZa8iGBLsRwE%3D
Screenshots
If using Personal Token or Deploy Key
Additional context
I found that if I directly push to branch. it will pass.
But Now I want this to be used for all PR.
Double checked. If I merge this PR, the run will run successfully, but it will failed in PR.
The text was updated successfully, but these errors were encountered: