Skip to content

Commit 9fcd9c5

Browse files
committed
Update deploy pages
1 parent d6a97a8 commit 9fcd9c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy_pages.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- update-books
89

910
# This job installs dependencies, build the book, and pushes it to `gh-pages`
1011
jobs:
@@ -61,20 +62,19 @@ jobs:
6162
6263
- name: Install OasisMove
6364
run: python3 -m pip install .[test]
64-
65+
6566
# https://github.com/executablebooks/jupyter-book/issues/1997
6667
- name: Downgrade docutils to fix layout-bug
6768
run: python3 -m pip install docutils==0.17.1
6869

6970
# Build the book
7071
- name: Build the book
7172
run: |
72-
jupyter book build -W docs
73+
jupyter book build docs
7374
7475
# Deploy the book's HTML to gh-pages branch
75-
- name: Deploy documentation
76-
uses: peaceiris/actions-gh-pages@v3
77-
if: github.ref == 'refs/heads/main'
76+
- name: GitHub Pages action
77+
uses: peaceiris/[email protected]
7878
with:
7979
github_token: ${{ secrets.GITHUB_TOKEN }}
80-
publish_dir: ./docs/_build/html
80+
publish_dir: docs/_build/html

0 commit comments

Comments
 (0)