We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf84d9 commit 98a592aCopy full SHA for 98a592a
.github/workflows/build-publish-documentation.yaml
@@ -69,9 +69,11 @@ jobs:
69
# generate HTML from markdown and put into dev version
70
poetry run mike deploy dev
71
72
+ # ensure the main branch is available locally
73
+ git fetch origin main
74
# switch to gh-pages branch, copy over the latest 404.html from main
75
git checkout --force gh-pages
- git checkout --force main -- 404.html
76
+ git checkout --force origin/main -- 404.html
77
git commit -m "Add 404.html to root" || echo "No changes to 404.html to commit"
78
79
# push changes to gh-page branch
0 commit comments