We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509aba5 commit 020da24Copy full SHA for 020da24
1 file changed
.github/workflows/main.yml
@@ -57,13 +57,15 @@ jobs:
57
with:
58
path: ./public
59
60
- - name: Deploy
61
- uses: peaceiris/actions-gh-pages@v4
62
- # If you're changing the branch from main,
63
- # also change the `main` in `refs/heads/main`
64
- # below accordingly.
65
- if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
66
- with:
67
- github_token: ${{ secrets.GITHUB_TOKEN }}
68
- publish_dir: ./public
69
- force_orphan: true
+ deploy:
+ needs: build
+ # Deploy to the github-pages environment
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+
+ runs-on: ubuntu-latest
+ steps:
+ - name: Deploy to GitHub Pages
70
+ id: deployment
71
+ uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
0 commit comments