Skip to content

Commit dccf897

Browse files
author
Martin D. Weinberg
committed
Merge branch 'Doxygen' of github.com:EXP-code/EXP-docs into Doxygen
2 parents 72604f6 + 2b4455a commit dccf897

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build_docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
with:
3333
name: html-docs
3434
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
35+
- name: Deploy to GitHub Pages
36+
uses: peaceiris/actions-gh-pages@v3
37+
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
38+
if: ${{ github.event_name == 'push' }}
3739
with:
40+
publish_branch: gh-pages
3841
github_token: ${{ secrets.GITHUB_TOKEN }}
3942
publish_dir: _build/html
43+
force_orphan: true

0 commit comments

Comments
 (0)