Trigger Generative AI Action Endpoint #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Generative AI Action Endpoint | |
on: | |
schedule: | |
- cron: '10 1 * * 0' | |
jobs: | |
send-trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send POST request to generative endpoint | |
run: | | |
curl -X POST ${{ vars.API_ENDPOINT }} \ | |
-H "WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}" |