Trigger Netlify Build #1617
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 0400 daily | |
- cron: '0 4 * * *' | |
jobs: | |
build: | |
name: Netlify Webhook to Build Site | |
runs-on: ubuntu-latest | |
steps: | |
- name: Curl request | |
run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }} |