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.
2 parents 72604f6 + 2b4455a commit dccf897Copy full SHA for dccf897
.github/workflows/build_docs.yml
@@ -32,8 +32,12 @@ jobs:
32
with:
33
name: html-docs
34
path: _build/html # Path to your built documentation
35
- - name: Deploy to github pages
36
- uses: peaceiris/actions-gh-pages@v3 # Or other suitable deploy action
+ - name: Deploy to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v3
37
+# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
38
+ if: ${{ github.event_name == 'push' }}
39
40
+ publish_branch: gh-pages
41
github_token: ${{ secrets.GITHUB_TOKEN }}
42
publish_dir: _build/html
43
+ force_orphan: true
0 commit comments