Update .github/workflows/cron.yml
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run

This commit is contained in:
2025-12-22 15:24:26 -05:00
parent 6d48c02181
commit 824da17b0a

View File

@@ -1,5 +1,7 @@
name: Daily Cron (Make New DailyStats Document)
on:
push:
[main]
schedule:
- cron: "0 5 * * *"
@@ -16,4 +18,4 @@ jobs:
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
--header 'Content-Type: application/json' \
--data '{ \"query\": \"mutation Cron { cronJob ( mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }} ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }\" }' \
--data 'mutation Cron { cronJob ( mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }} ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }' \