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 have read the latest README and followed the instructions.
I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
First of all, thanks for this awesome action !
I'm using it from a job with a matrix configuration, so the action may run concurrently.
Sometimes, it fails because the gh-pages branch is not up-to-date (see logs).
Any advice to prevent this?
Relevant links
My repository is private.
Relevant log output
Push the commit or tag
/usr/bin/git push origin gh-pages
To https://github.com/semarchy/mdm.git
! [rejected] gh-pages -> gh-pages (fetch first)
error: failed to push some refs to 'https://github.com/***/mdm.git'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Error: Action failed with "The process '/usr/bin/git' failed with exit code 1"
i would appreciate a retry mechanism, but i'm not sure it would help. this action pushes, another action before this did the pull. i think a fetch or force command is needed. more generically could be described be features such as a retry-mechanism, either pre-commit or on-retry script, 'git_push_additional_args'
Checklist
Describe your question
First of all, thanks for this awesome action !
I'm using it from a job with a matrix configuration, so the action may run concurrently.
Sometimes, it fails because the
gh-pages
branch is not up-to-date (see logs).Any advice to prevent this?
Relevant links
Relevant log output
Additional context.
My matrix configuration:
How I have configured the step:
The text was updated successfully, but these errors were encountered: