Skip to content

Commit

Permalink
Create API Deploy Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGuySam authored Aug 1, 2024
1 parent e5cd25f commit f5c8352
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy-api.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit f5c8352

Please sign in to comment.