diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index ca475dd..2ff2653 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -12,6 +12,6 @@ jobs: - name: Daily cron job | Create new dailyStats document. run: | curl --request POST \ - --url 'bot-stats.lucids-cove.duckdns.org/api/graphql' \ - --header 'x-api-key: ${{ secrets.NEXT_PUBLIC_API_TOKEN }}' \ + --url 'https://bot-stats.lucids-cove.duckdns.org/api/graphql' \ + --header 'x-api-key: "${{ secrets.NEXT_PUBLIC_API_TOKEN }}"' \ --data '{ "query": "mutation Cron { cronJob(mutationKey: \"${{ secrets.GRAPHQL_MUTATION_KEY }}\") { commandResponses createdAt linksDeleted timesTriggered updatedAt } }" }'