chore(release): publish #84
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 | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| steps: | |
| - name: ποΈ Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π§° Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| cache: 'yarn' | |
| - name: π¦ Install dependencies | |
| run: yarn | |
| - name: ποΈ Build Vite site | |
| run: yarn build:site | |
| - name: π€ Upload artifact for GitHub Pages | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./dist | |
| - name: π Deploy to GitHub Pages | |
| uses: actions/deploy-pages@v4 | |
| with: | |
| github_token: ${{ github.token }} |