Skip to content

Commit 504b825

Browse files
committed
fix pages
1 parent 39d2c00 commit 504b825

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ jobs:
3131
- name: Build
3232
run: pnpm run build
3333

34-
- name: Deploy
35-
uses: peaceiris/actions-gh-pages@v3
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
3639
with:
37-
github_token: ${{ secrets.GITHUB_TOKEN }}
38-
publish_dir: ./dist
40+
path: ".output/"
41+
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)