mirror of
https://github.com/apricote/apricote.de.git
synced 2026-01-13 20:51:02 +00:00
ci: redeploy daily
This commit is contained in:
parent
c70fce26b2
commit
2dfd8a7b9b
1 changed files with 18 additions and 0 deletions
18
.github/workflows/redeploy.yaml
vendored
Normal file
18
.github/workflows/redeploy.yaml
vendored
Normal 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}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue