Skip to content

Commit eea4975

Browse files
committed
Use upload-pages-artifact action
1 parent b04e719 commit eea4975

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ jobs:
1313
- name: Build
1414
run: npm install && npm run build
1515
- name: Upload artifact
16-
uses: actions/upload-artifact@v4
16+
uses: actions/upload-pages-artifact@v3
1717
with:
18-
name: site
19-
path: _site
18+
path: _site/
2019
deploy:
2120
needs: build
2221
runs-on: ubuntu-latest
@@ -28,7 +27,4 @@ jobs:
2827
url: ${{ steps.deployment.outputs.page_url }}
2928
steps:
3029
- name: GitHub Pages deploy
31-
id: deployment
3230
uses: actions/deploy-pages@v4
33-
with:
34-
artifact_name: site

0 commit comments

Comments
 (0)