This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Pages | |
| uses: actions/configure-pages@v3 | |
| - name: Upload static files | |
| uses: actions/upload-pages-artifact@v2 | |
| with: | |
| path: ./ # or ./dist if you're using a build folder | |
| - name: Deploy to GitHub Pages | |
| uses: actions/deploy-pages@v2 |