mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-29 09: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
1cce816fd8
commit
e8ee2fc1f9
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