Skip to content

Commit

Permalink
Trigger Functions deploy every day at 3am
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGuySam authored Aug 1, 2024
1 parent 877410c commit 32883a1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-functions.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 32883a1

Please sign in to comment.