Skip to content

Commit eb37f01

Browse files
committed
u
1 parent c1ec2f7 commit eb37f01

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/publish.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
17-
with:
18-
fetch-depth: 0
19-
- uses: quarto-dev/quarto-actions/setup@v2
20-
- run: |
21-
pip install nbformat
22-
python auto_add_date.py posts/*.ipynb
23-
- run: quarto render
24-
- uses: actions/upload-pages-artifact@v3
25-
with:
26-
path: '_site'
16+
# fetch-depth required by auto_add_date.py
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: quarto-dev/quarto-actions/setup@v2
21+
- uses: actions/setup-python@v5
22+
- run: |
23+
pip install nbformat
24+
python auto_add_date.py posts/*.ipynb
25+
- run: quarto render
26+
- uses: actions/upload-pages-artifact@v3
27+
with:
28+
path: "_site"
2729

2830
deploy:
2931
needs: build
@@ -40,5 +42,5 @@ jobs:
4042
runs-on: ubuntu-latest
4143

4244
steps:
43-
- uses: actions/configure-pages@v4
44-
- uses: actions/deploy-pages@v4
45+
- uses: actions/configure-pages@v4
46+
- uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)