Bump vite from 6.3.6 to 6.4.1 #26
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 site | |
| on: | |
| push | |
| jobs: | |
| linux1: | |
| name: Build site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: checkout code | |
| uses: actions/[email protected] | |
| - name: install dependencies | |
| run: npm i | |
| - name: build the site | |
| run: make | |
| linux2: | |
| name: Deploy website | |
| runs-on: ubuntu-latest | |
| needs: [linux1] | |
| if: github.ref == 'refs/heads/master' | |
| steps: | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: checkout code | |
| uses: actions/[email protected] | |
| - name: install dependencies | |
| run: npm i | |
| - name: build the site | |
| run: make | |
| - name: deploy site to gh-pages | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: dist | |
| single-commit: true |