diff --git a/.github/workflows/redeploy.yaml b/.github/workflows/redeploy.yaml new file mode 100644 index 0000000..faa8882 --- /dev/null +++ b/.github/workflows/redeploy.yaml @@ -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}"