Build site at midnight (#84)

This commit is contained in:
Riku Rouvila
2020-10-07 19:51:26 +03:00
committed by GitHub
parent 3dce6e19b1
commit f9dd15a587

12
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: Scheduled build
on:
schedule:
- cron: "0 0 * * *"
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 }}