-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied after second run #1045
Comments
Can you copy/paste the full log? |
Log
|
In the logs it looks like you're running version 4.1.1, have you tried the latest version? Can you try using a personal access token as opposed to If that doesn't work can you please create a repo that I can use to reproduce the issue? |
Test repo: https://github.com/iptv-org/github-pages-deploy-action-test Changing the version to But after some more tests, I found out that the error appears only when there is a
https://github.com/iptv-org/github-pages-deploy-action-test/runs/5321712342?check_suite_focus=true But if you put
https://github.com/iptv-org/github-pages-deploy-action-test/runs/5321744278?check_suite_focus=true |
If you have a spare moment, do you mind trying |
Unfortunately, the result is the same: https://github.com/iptv-org/github-pages-deploy-action-test/runs/5373757065?check_suite_focus=true |
Thanks for double checking that. The error indicates that somewhere in the git flow something is being run as root according to SO but I don't see where anything in either repo-sync or this action is performing that step. The closest thing is that the temporary deployment directory gets chmodded but that shouldn't have any baring over the git logs. Give me some time and I'll see what I can come up with, it's a pretty packed week for me so I may not get to this until the weekend. |
No problem. I've already changed the order in which the actions are called in the main repository and so far it's working fine. |
I am facing the same issue, but I only use Here is my log: https://github.com/vuepress-theme-hope/vuepress-theme-hope/runs/5827815705?check_suite_focus=true And it failed. |
I'm wondering if this might be a parallel deployment-style issue. Can you try running these deployments with |
I can try that, but I am making deployment to different repos, and I am deploying them one by one, so how could I face this issue? BTW, I temporily sovle it by using a matrix. |
Does it have anything to do with #1110? |
Closing this as this issue is stale and believed to be caused by an earlier version. Please re-open if you still experience this and it's a problem. |
Describe the bug
Returns an error if you run the action twice in the same job:
Reproduction Steps
Additional Comments
The error appears only after the second start. If you run the action only once (no matter with or without repository-name property) it works fine.
The text was updated successfully, but these errors were encountered: