Update .github/workflows/cron.yml
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 8m31s
Daily Cron (Make New DailyStats Document) / cron (push) Failing after 1s

This commit is contained in:
2026-02-06 00:08:16 -05:00
parent 1baf37ae41
commit ccc609e847

View File

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