Skip to content

Commit fa3717f

Browse files
committed
CI try another action
1 parent 48ddcc9 commit fa3717f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/DEPLOY_TO_PAGES.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
run: npm ci
2929
- name: Build
3030
run: xvfb-run npm run all
31-
- name: Upload artifact
32-
uses: actions/upload-pages-artifact@v3
31+
- name: Deploy
32+
uses: peaceiris/actions-gh-pages@v4
33+
if: github.ref == 'refs/heads/main'
3334
with:
34-
path: dist
35-
- name: Deploy to GitHub Pages
36-
id: deployment
37-
uses: actions/deploy-pages@v4
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_dir: ./dist

0 commit comments

Comments
 (0)