mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Trigger Functions deploy every day at 3am
This commit is contained in:
parent
877410c9cc
commit
32883a129b
1 changed files with 16 additions and 0 deletions
16
.github/workflows/deploy-functions.yaml
vendored
Normal file
16
.github/workflows/deploy-functions.yaml
vendored
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue