Skip to content

feat: Adding deploy github action for Netlify. #1

feat: Adding deploy github action for Netlify.

feat: Adding deploy github action for Netlify. #1

Workflow file for this run

name: Deploy to Netlify
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v3
# Install proper version of node
- uses: actions/setup-node@v3
with:
node-version: '16.x'
# Install v3.7.1 of gatsby-cli
- run: npm install -g [email protected]
- run: npm -v
- run: gatsby --version