Skip to content

Commit a064a5c

Browse files
committed
update actions
1 parent df82a5c commit a064a5c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,32 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@main
11+
uses: actions/checkout@v3.1.0
1212
with:
13-
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
14-
13+
fetch-depth: 0
14+
1515
- name: Set up Python 3.
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: 3.9
1919

20+
- name: Install Poetry
21+
uses: snok/install-poetry@v1
22+
with:
23+
version: 1.3.2
24+
25+
- name: install
26+
run: poetry install --with docs --all-extras
27+
2028
- name: Install dependencies for nbsphinx
2129
run: |
2230
sudo apt update
2331
sudo apt install -y pandoc
32+
2433
- name: Run Pandoc
2534
run: |
26-
pandoc --version
27-
- name: Install Poetry.
28-
uses: snok/install-poetry@v1.3
29-
30-
- name: install
31-
run: poetry install
32-
35+
pandoc --version
36+
3337
- name: Build documentation.
3438
run: |
3539
mkdir gh-pages

0 commit comments

Comments
 (0)