Skip to content

Commit

Permalink
feat: Adding deploy github action for Netlify.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Sep 10, 2023
1 parent ace4541 commit 855410b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit 855410b

Please sign in to comment.