mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Create API Deploy Action
This commit is contained in:
parent
e5cd25f579
commit
f5c83529d5
1 changed files with 17 additions and 0 deletions
17
.github/workflows/deploy-api.yaml
vendored
Normal file
17
.github/workflows/deploy-api.yaml
vendored
Normal 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 }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue