We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b42d0 commit ce5e683Copy full SHA for ce5e683
1 file changed
.github/workflows/ci.yml
@@ -29,17 +29,19 @@ jobs:
29
- name: Build MkDocs site
30
run: mkdocs build
31
32
+
33
- name: Deploy to gh-pages (no force)
34
run: |
35
git fetch origin gh-pages
- git worktree add gh-pages-temp origin/gh-pages
36
+ git branch gh-pages origin/gh-pages
37
+ git worktree add gh-pages-temp gh-pages
38
39
rsync -av --delete site/ gh-pages-temp/
40
touch gh-pages-temp/.nojekyll
41
42
cd gh-pages-temp
43
git add .
44
git commit -m "Update docs [skip ci]" || echo "No changes"
- git push origin HEAD:gh-pages
45
+ git push origin gh-pages
46
cd ..
47
git worktree remove gh-pages-temp
0 commit comments