Trigger Functions deploy every day at 3am

This commit is contained in:
Sam Carlton 2024-08-01 14:26:24 -05:00 committed by GitHub
parent 877410c9cc
commit 32883a129b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
.github/workflows/deploy-functions.yaml vendored Normal file
View file

@ -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 }}