-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Docker run failed with exit code 1 #36
Comments
probably the #5 error, so I'll close this issue and watch the other, sorry for opening the redundant issue :D |
ok, it wasn't it |
Can you verify that your GitHub token has the correct permissions granted? This is a pretty vague error. |
I confirm I get the same error but I found why: nothing related to your permissions. The field BUILD_SCRIPT is mandatory because if you not modify your branch during the process the two branches are going to be equal so this line: https://github.com/JamesIves/github-pages-deploy-action/blob/master/entrypoint.sh#L87 will not add anything because what you want to add is already part of your repo. So if your folder is /src it's already commited on master so the script fail. To fix it: FOLDER: dist
BUILD_SCRIPT: mkdir dist && mv src/* dist Yep that's a bit stupid. I suggest to change the last lines of the entryscript, to use git worktree. |
Appreciate that, thanks @MLKiiwy ! |
The changes referenced by @MLKiiwy are all available in the v3 beta. If you wouldn't mind giving it a try you can use it using |
Describe the bug
https://github.com/vhoyer/timedReport
Reproduce
Folder struct:
Expected behavior
Deploy to gh pages
Additional Comments
logs_10.zip
The text was updated successfully, but these errors were encountered: