Skip to content

Commit

Permalink
fix: added fetching before pushing to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
baldeepsingh-pantelwar committed Jan 25, 2024
1 parent 09190f4 commit 01bf547
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
mv docs/* .
git add .
git commit -m "Generate and deploy documentation"
git push origin gh-pages
git fetch origin gh-pages
git rebase origin/gh-pages
git push -f origin gh-pages
deploy_docs:
needs: generate_docs
Expand Down

0 comments on commit 01bf547

Please sign in to comment.