mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-22 10:52:19 +00:00
schedule daily netlify builds
this will make it possible to schedule posts for future publish dates
This commit is contained in:
parent
5f1c52a0ad
commit
3a94870531
1 changed files with 14 additions and 0 deletions
14
.github/workflows/daily_build.yml
vendored
Normal file
14
.github/workflows/daily_build.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue