Skip to content

Commit c5d9aa6

Browse files
committed
ci: fix github actions
1 parent 3d45cae commit c5d9aa6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,19 @@ jobs:
5050
- name: Setup Pages
5151
uses: actions/configure-pages@v3
5252
- name: Upload artifact
53-
uses: actions/upload-pages-artifact@v2
53+
uses: actions/upload-pages-artifact@v3
5454
with:
5555
path: 'dist/'
56+
deploy-gh-pages:
57+
runs-on: ubuntu-latest
58+
needs: build-gh-pages
59+
permissions:
60+
pages: write
61+
id-token: write
62+
environment:
63+
name: github-pages
64+
url: ${{ steps.deployment.outputs.page_url }}
65+
steps:
5666
- name: Deploy to GitHub Pages
5767
id: deployment
58-
uses: actions/deploy-pages@v2
68+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)