Skip to content

sanity-webhook

sanity-webhook #2

name: update sanity display in development mode
on:
repository_dispatch:
types: [sanity-webhook]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: '18.18.0'
- name: Change working directory
run: cd noah-gatsby-sanity
- name: Install dependencies
run: npm install
- name: Clean Gatsby cache
run: gatsby clean
- name: Start Gatsby development server
run: gatsby develop