Skip to content

Commit 6056f71

Browse files
committed
documentation fix
1 parent 0334a3c commit 6056f71

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: "Build Documentation"
22

33
on:
4-
push:
5-
branches:
6-
- '*'
7-
- '!main'
84
release:
95
branches:
106
- main
@@ -41,15 +37,13 @@ jobs:
4137
run: make build-docs
4238

4339
- name: "Archive Documentation"
44-
if: github.ref != 'refs/heads/main'
4540
uses: actions/upload-artifact@v1
4641
with:
4742
name: documentation
4843
path: site
4944

5045
- name: "Push to gh-pages Branch"
51-
if: github.ref == 'refs/heads/main'
5246
uses: peaceiris/actions-gh-pages@v3
5347
with:
5448
deploy_key: ${{ secrets.SSH_PRIVATE_KEY }}
55-
publish_dir: ./site
49+
publish_dir: ./site

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ doc-dependencies: ## install dependencies from doc_requirements.txt
3939
update-dependencies: ## Update dependency versions
4040
pip-compile requirements.in > requirements.txt
4141
pip-compile test_requirements.in > test_requirements.txt
42-
pip-compile test_requirements.in > test_requirements.txt
42+
pip-compile doc_requirements.in > doc_requirements.txt
4343

4444
clean-venv: ## remove all packages from virtual environment
4545
pip freeze | grep -v "^-e" | xargs pip uninstall -y

0 commit comments

Comments
 (0)