chore: refresh prerendered content

Github Actions will trigger a deploy hook every two hours
This commit is contained in:
Ax333l
2022-11-05 13:55:49 +01:00
parent 22c9a792c1
commit 5b97640f94

13
.github/workflows/refresh.yaml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: refresh
on:
schedule:
- cron: '0 */2 * * *'
workflow_dispatch:
jobs:
cron:
runs-on: ubuntu-latest
environment: production
steps:
- name: Refresh the site prerender with the latest API data
run: |
curl -X POST '${{ secrets.DEPLOY_HOOK }}'