Compare commits

...

7 Commits

Author SHA1 Message Date
werewolfkid 34dbc8d232 fix string value error
Main / build-and-push-docker-image (20.x) (push) Waiting to run
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 1s
2025-12-18 21:46:08 -05:00
werewolfkid 5415c0c1f3 FORCE THIS SHIT TO RUN
Main / build-and-push-docker-image (20.x) (push) Waiting to run
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 1s
2025-12-18 21:44:37 -05:00
werewolfkid 49218131f3 FIXED!
Main / build-and-push-docker-image (20.x) (push) Waiting to run
2025-12-18 21:42:56 -05:00
werewolfkid 0bbffd1b2a fixed?!
Main / build-and-push-docker-image (20.x) (push) Waiting to run
2025-12-18 21:40:40 -05:00
werewolfkid bfcfb8008a fiiiiiiiiiiix
Main / build-and-push-docker-image (20.x) (push) Waiting to run
2025-12-18 21:31:17 -05:00
werewolfkid 67c5bf86ed fiiiiix
Main / build-and-push-docker-image (20.x) (push) Waiting to run
2025-12-18 21:30:37 -05:00
werewolfkid 9890331139 fix cron?
Main / build-and-push-docker-image (20.x) (push) Waiting to run
2025-12-18 21:28:17 -05:00
+5 -12
View File
@@ -1,5 +1,7 @@
name: Daily Cron (Make New DailyStats Document) name: Daily Cron (Make New DailyStats Document)
on: on:
push:
branches: [main]
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
jobs: jobs:
@@ -12,16 +14,7 @@ jobs:
- name: Daily cron job | Create new dailyStats document. - name: Daily cron job | Create new dailyStats document.
run: | run: |
curl --request POST \ 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 }}' \ --header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \
--data '{ --header 'Content-Type: application/json' \
"query": "mutation { --data '{ "query": "mutation Cron { cronJob ( mutationKey: \"${{ secrets.GRAPHQL_MUTATION_KEY }}\" ) { commandResponses createdAt linksDeleted timesTriggered updatedAt } }" }' \
cronJob(mutationKey: ${{ secrets.GRAPHQL_MUTATION_KEY }}) {
commandResponses
createdAt
linksDeleted
timesTriggered
updatedAt
}
}"
}'