name: Deploy 01 Functions

on:
  workflow_dispatch:
  schedule:
    - cron: '0 2 * * *'  # 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 }}
