schedule daily netlify builds

this will make it possible to schedule posts for future publish dates
This commit is contained in:
John Bowdre 2023-09-12 16:18:37 -05:00 committed by GitHub
parent 5f1c52a0ad
commit 3a94870531

14
.github/workflows/daily_build.yml vendored Normal file
View file

@ -0,0 +1,14 @@
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 }}