Trigger Netlify Build #1561
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
name: Trigger Netlify Build | |
on: | |
schedule: | |
# Run at 20:00 every day UTC (6:00 Sydney time) | |
- cron: '0 20 * * *' | |
jobs: | |
build: | |
name: Trigger Netlify build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Curl request | |
env: | |
NETLIFY_DEPLOY_URL: ${{ secrets.NETLIFY_DEPLOY_URL }} | |
run: curl -X POST -d {} $NETLIFY_DEPLOY_URL |