Created
August 14, 2019 21:47
-
-
Save Jinksi/5e82273b755ea9c41bd55f18c210c192 to your computer and use it in GitHub Desktop.
Netlify scheduled build trigger with Github Actions
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/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