Skip to content

Commit c4b5fee

Browse files
committed
upps, it's not the main branch in documentation.yml
1 parent e0c35a8 commit c4b5fee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
pip install -r dev-requirements.txt
22-
pip install .
2322
- name: Sphinx build
2423
run: |
25-
sphinx-build docs/source .
24+
sphinx-build docs/source _build
2625
- name: Deploy to GitHub Pages
2726
uses: peaceiris/actions-gh-pages@v3
28-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
27+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
2928
with:
3029
publish_branch: gh-pages
3130
github_token: ${{ secrets.GITHUB_TOKEN }}
32-
publish_dir: .
31+
publish_dir: _build/
3332
force_orphan: true

0 commit comments

Comments
 (0)