Skip to content

Instantly share code, notes, and snippets.

@Jinksi
Created August 14, 2019 21:47
Show Gist options
  • Save Jinksi/5e82273b755ea9c41bd55f18c210c192 to your computer and use it in GitHub Desktop.
Save Jinksi/5e82273b755ea9c41bd55f18c210c192 to your computer and use it in GitHub Desktop.
Netlify scheduled build trigger with Github Actions
# .github/workflows/main.yml
name: Trigger Netlify Build
on:
schedule:
# Run at 0815 daily
- cron: '15 8 * * *'
jobs:
build:
name: Request Netlify Webhook
runs-on: ubuntu-latest
steps:
- name: Curl request
run: curl -X POST -d {} YOUR_BUILD_HOOK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment