Skip to content

Commit 5a35710

Browse files
committed
Try alternative actions
1 parent ba5908a commit 5a35710

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ jobs:
3030
- name: Build the Jupyter Book
3131
run: jupyter-book build --builder dirhtml TeSS_docs/
3232

33-
- name: Upload artifact
34-
uses: actions/upload-artifact@v4
33+
- name: GitHub Pages action
34+
uses: peaceiris/actions-gh-pages@v3.6.1
3535
with:
36-
path: "TeSS_docs/_build/dirhtml"
37-
38-
- name: Deploy to GitHub Pages
39-
id: deployment
40-
uses: actions/deploy-pages@v4
41-
#run: |
42-
# ghp-import -n -p -f TeSS_docs/_build/dirhtml
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: "TeSS_docs/_build/dirhtml"
38+
39+
#- name: Upload artifact
40+
# uses: actions/upload-artifact@v4
41+
# with:
42+
# path: "TeSS_docs/_build/dirhtml"
43+
44+
#- name: Deploy to GitHub Pages
45+
# id: deployment
46+
# uses: actions/deploy-pages@v4
47+
# #run: |
48+
# # ghp-import -n -p -f TeSS_docs/_build/dirhtml

0 commit comments

Comments
 (0)