Skip to content

Trigger netlify build #1984

Trigger netlify build

Trigger netlify build #1984

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 }}