Skip to content

Instantly share code, notes, and snippets.

@3200pro
Last active August 1, 2021 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3200pro/9c73e709fa415b8694e78727bd1c6cdd to your computer and use it in GitHub Desktop.
Save 3200pro/9c73e709fa415b8694e78727bd1c6cdd to your computer and use it in GitHub Desktop.
Refresh Gatsby CMS Preview For Sanity (Runs every 8 Hours)
name: 3200.PRO Refresh Gatsby Preview
on:
schedule:
- cron: "0 */8 * * *" # Visit https://crontab.guru/examples.html for cron scheduling examples
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: muinmomin/webhook-action@v1.0.0
with:
url: ${{ secrets.WEBHOOK_URL }}
data: "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment