We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48ddcc9 commit fa3717fCopy full SHA for fa3717f
.github/workflows/DEPLOY_TO_PAGES.yml
@@ -28,10 +28,9 @@ jobs:
28
run: npm ci
29
- name: Build
30
run: xvfb-run npm run all
31
- - name: Upload artifact
32
- uses: actions/upload-pages-artifact@v3
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v4
33
+ if: github.ref == 'refs/heads/main'
34
with:
- path: dist
35
- - name: Deploy to GitHub Pages
36
- id: deployment
37
- uses: actions/deploy-pages@v4
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./dist
0 commit comments