chore(deps): update actions/checkout action to v4.2.2 #229
This file contains 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: netlify-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18' ] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn css | |
- run: yarn build | |
- name: Deploy to Netlify | |
run: | | |
npm install netlify-cli -g | |
netlify deploy --prod --dir=dist | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |