Trigger Product Quantity Update on CRON Schedule #524
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 Product Quantity Update on CRON Schedule | |
on: | |
schedule: | |
- cron: "0 12 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Product Quantity Update | |
run: | | |
curl -X GET \ | |
-H 'Content-type: application/json' \ | |
-H 'x-api-key: ${{ secrets.CRON_API_KEY }}' \ | |
--url ${{ secrets.CRON_URL }} |