Update .github/workflows/cron.yml
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 5m26s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 1s

This commit is contained in:
2026-02-07 00:06:31 -05:00
parent ccc609e847
commit d3a1a0b5d4

View File

@@ -13,7 +13,7 @@ jobs:
- name: Daily cron job | Create new dailyStats document.
run: |
curl --request POST \
--url 'https://bot-stats.werewolfkid.momnster/api/graphql' \
--url 'https://bot-stats.werewolfkid.monster/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 } }" }' \