From 32883a129bfa15faf289331ee2b3fc6f914de055 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 1 Aug 2024 14:26:24 -0500 Subject: [PATCH] Trigger Functions deploy every day at 3am --- .github/workflows/deploy-functions.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/deploy-functions.yaml diff --git a/.github/workflows/deploy-functions.yaml b/.github/workflows/deploy-functions.yaml new file mode 100644 index 0000000..34ef84c --- /dev/null +++ b/.github/workflows/deploy-functions.yaml @@ -0,0 +1,16 @@ +name: Deploy Functions + +on: + schedule: + - cron: '0 3 * * *' # Runs every day at 3 AM + +jobs: + make-get-request: + runs-on: ubuntu-latest + + steps: + - name: Trigger Functions Deploy Hook + run: | + curl -X GET "$FUNCTIONS_DEPLOY_HOOK_URL" + env: + FUNCTIONS_DEPLOY_HOOK_URL: ${{ secrets.FUNCTIONS_DEPLOY_HOOK_URL }}