Skip to content

Commit 5136c76

Browse files
Add publish step back in
1 parent 1ba4b70 commit 5136c76

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/any_changes.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ jobs:
2323
run: make install
2424

2525
- name: Test documentation builds
26-
run: make documentation
26+
run: make documentation
27+
env:
28+
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}

.github/workflows/publish.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,16 @@ jobs:
2626
with:
2727
user: __token__
2828
password: ${{ secrets.PYPI }}
29-
skip-existing: true
29+
skip-existing: true
30+
31+
- name: Test documentation builds
32+
run: make documentation
33+
env:
34+
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}
35+
36+
- name: Deploy documentation
37+
uses: JamesIves/github-pages-deploy-action@releases/v3
38+
with:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
BRANCH: gh-pages # The branch the action should deploy to.
41+
FOLDER: docs/_build/html # The folder the action should deploy.

0 commit comments

Comments
 (0)