runtimeterror/.github/workflows/daily_build.yml
John Bowdre 3a94870531 schedule daily netlify builds
this will make it possible to schedule posts for future publish dates
2023-09-12 16:18:37 -05:00

15 lines
308 B
YAML

name: Daily build
on:
schedule:
- cron: "0 13 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger build webhook on Netlify
run: curl -s -X POST "https://api.netlify.com/build_hooks/${TOKEN}"
env:
TOKEN: ${{ secrets.NETLIFY_CRON_BUILD_HOOK }}