Skip to content

Parallel jobs causes randomly gh pages push failure #157

@jupe

Description

@jupe

Behaviour

Steps to reproduce this issue

Parallel jobs causes randomly gh pages push failure:

Pushing public directory to main branch on ... repo
  /usr/bin/git push https://***@github.com/***.git main
  To https://github.com/***.git
   ! [rejected]        main -> main (fetch first)
  error: failed to push some refs to 'https://github.com/***.git'
  hint: Updates were rejected because the remote contains work that you do
  hint: not have locally. This is usually caused by another repository pushing
  hint: to the same ref. You may want to first integrate the remote changes
  hint: (e.g., 'git pull ...') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  Error: The process '/usr/bin/git' failed with exit code 1

Expected behaviour

Succesful push

Actual behaviour

failures

error: failed to push some refs to ...
  hint: Updates were rejected because the remote contains work that you do
  hint: not have locally. 

I think library should have some kind of retry mechanism for this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions