Last active
May 12, 2021 10:16
-
-
Save IlanVivanco/fd2b6f0da7e5ed8bd4964a0520e99059 to your computer and use it in GitHub Desktop.
Github workflow cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/cron.yml | |
# You must add your YOUR_BUILD_HOOK from your repo > Settings > Secrets | |
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