Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

chore(deps): update actions/setup-node action to v3.8.2 #155

chore(deps): update actions/setup-node action to v3.8.2

chore(deps): update actions/setup-node action to v3.8.2 #155

Workflow file for this run

name: netlify-pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install
- run: yarn build
- name: Deploy to Netlify
run: |
npm install netlify-cli -g
netlify deploy --prod --dir=public
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}