fix cron?
fiiiiix fiiiiiiiiiiix fixed?! FIXED! FORCE THIS SHIT TO RUN fix string value error
This commit is contained in:
17
.github/workflows/cron.yml
vendored
17
.github/workflows/cron.yml
vendored
@@ -1,5 +1,7 @@
|
||||
name: Daily Cron (Make New DailyStats Document)
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
jobs:
|
||||
@@ -12,16 +14,7 @@ jobs:
|
||||
- name: Daily cron job | Create new dailyStats document.
|
||||
run: |
|
||||
curl --request POST \
|
||||
--url 'bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
||||
--url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \
|
||||
--header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
|
||||
--data '{
|
||||
"query": "mutation {
|
||||
cronJob(mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }}) {
|
||||
commandResponses
|
||||
createdAt
|
||||
linksDeleted
|
||||
timesTriggered
|
||||
updatedAt
|
||||
}
|
||||
}"
|
||||
}'
|
||||
--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