Update .github/workflows/cron.yml
This commit is contained in:
2
.github/workflows/cron.yml
vendored
2
.github/workflows/cron.yml
vendored
@@ -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 } }" }' \
|
||||
|
||||
Reference in New Issue
Block a user