Skip to content

Commit c842767

Browse files
committed
fix: add upload artifact step
1 parent 0ea500a commit c842767

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
pages: write
1111
id-token: write
1212
runs-on: ubuntu-latest
13+
environment:
14+
name: github-pages
15+
url: ${{ steps.deployment.outputs.page_url }}
1316
steps:
1417
- uses: actions/setup-python@v5
1518
with:
@@ -21,5 +24,9 @@ jobs:
2124
cd 2021
2225
make install-python-requirements
2326
make generate-site
27+
- name: Upload static files as artifact
28+
uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: site/
2431
- name: Deploy
2532
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)