Skip to content

Instantly share code, notes, and snippets.

@stefanjudis

stefanjudis/main.yml Secret

Created Jan 12, 2021
Embed
What would you like to do?
Rebuild cron
# /.github/workflows/main.yml
name: Trigger Netlify Build
on:
schedule:
# Every day at midnight
- cron: '0 0 * * *'
jobs:
build:
name: Netlify build
runs-on: ubuntu-latest
steps:
- name: Curl request
run: curl -X POST -d {} https://api.netlify.com/build_hooks/...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment