Skip to content

Commit c8b26b3

Browse files
committed
chore: update GitHub Actions workflow to use actions/upload-pages-artifact and actions/deploy-pages for deployment
1 parent 08f9ebe commit c8b26b3

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎.github/workflows/pages-build-site.yml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
- name: Build
5757
run: pnpm build
5858

59-
- name: Deploy
60-
uses: peaceiris/actions-gh-pages@v4
59+
- name: Upload artifact
60+
uses: actions/upload-pages-artifact@v3
6161
with:
62-
github_token: ${{ secrets.GITHUB_TOKEN }}
63-
exclude_assets: ""
64-
publish_dir: ./dist
62+
path: "./dist"
63+
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)