This commit is contained in:
5
.github/workflows/cron.yml
vendored
5
.github/workflows/cron.yml
vendored
@@ -14,8 +14,9 @@ jobs:
|
|||||||
curl --request POST \
|
curl --request POST \
|
||||||
--url 'bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
--url 'bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
||||||
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
|
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
--data '{
|
--data '{
|
||||||
"query": "mutation {
|
\"query\": \"mutation {
|
||||||
cronJob(mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }}) {
|
cronJob(mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }}) {
|
||||||
commandResponses
|
commandResponses
|
||||||
createdAt
|
createdAt
|
||||||
@@ -23,5 +24,5 @@ jobs:
|
|||||||
timesTriggered
|
timesTriggered
|
||||||
updatedAt
|
updatedAt
|
||||||
}
|
}
|
||||||
}"
|
}\"
|
||||||
}'
|
}'
|
||||||
|
|||||||
Reference in New Issue
Block a user