ci: redeploy daily

This commit is contained in:
Julian Tölle 2023-02-19 01:20:25 +01:00
parent c70fce26b2
commit 2dfd8a7b9b

18
.github/workflows/redeploy.yaml vendored Normal file
View file

@ -0,0 +1,18 @@
name: redeploy
on:
# We want to re-deploy daily to update any dynamic content on the page (e.g. favorite music, age)
schedule:
- cron: "42 0 * * *"
# Manual
workflow_dispatch:
jobs:
redeploy:
runs-on: ubuntu-22.04
steps:
- env:
DEPLOY_HOOK: ${{ secrets.DEPLOY_HOOK }}
run: |
curl -X POST "${DEPLOY_HOOK}"