Skip to content
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

Rejected pushes to gh-pages when using subdirs #2574

Open
tpoisot opened this issue Sep 13, 2024 · 0 comments
Open

Rejected pushes to gh-pages when using subdirs #2574

tpoisot opened this issue Sep 13, 2024 · 0 comments

Comments

@tpoisot
Copy link

tpoisot commented Sep 13, 2024

I am trying to build documentations across several packages in a monorepo, and I very commonly run into the following issue:

 To github.com:PoisotLab/SpeciesDistributionToolkit.jl.git
 ! [rejected]        HEAD -> gh-pages (fetch first)
error: failed to push some refs to 'github.com:PoisotLab/SpeciesDistributionToolkit.jl.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.

Re-running the documentation tasks manually work, but isn't ideal (obviously).

Is there a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant