Trigger netlify build #3712
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: | |
# The build is triggered every 6 hours so that the KEP page remains fresh. | |
# TODO(future): Revisit the cadence. | |
- cron: '0 */6 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger webhook on netlify | |
run: curl -s -X POST "https://api.netlify.com/build_hooks/${TOKEN}" | |
env: | |
TOKEN: ${{ secrets.NETLIFY_BUILD_HOOK_KEY }} |