chore: add Netlify build Action

This commit is contained in:
Bobbie Soedirgo committed 2020-06-15 22:55:29 +08:00
1 parent 3fc06e1367
commit 4119571dcf
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
name: Scheduled Netlify build
on:
schedule:
- cron: '0 18 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger our build webhook on Netlify
run: curl -s -X POST "https://api.netlify.com/build_hooks/${TOKEN}"
env:
TOKEN: ${{ secrets.NETLIFY_CRON_BUILD_HOOK }}