Create API Deploy Action

This commit is contained in:
Sam Carlton 2024-08-01 14:43:10 -05:00 committed by GitHub
parent e5cd25f579
commit f5c83529d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
.github/workflows/deploy-api.yaml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Deploy 02 API
on:
workflow_dispatch:
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 POST "$API_DEPLOY_HOOK_URL"
env:
API_DEPLOY_HOOK_URL: ${{ secrets.API_DEPLOY_HOOK_URL }}