inlclude full date/time

This commit is contained in:
proddy
2026-04-25 21:14:16 +02:00
parent 7056c446fa
commit 5ecda88457
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ jobs:
- name: Update version in Cloudflare KV store
run: |
JSON_DATA='{"version": "${{steps.build_info.outputs.VERSION}}", "date": "$(date -u +%Y-%m-%d)"}'
JSON_DATA="{\"version\": \"${{steps.build_info.outputs.VERSION}}\", \"date\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}"
curl -X PUT "https://api.cloudflare.com/client/v4/accounts/${{ secrets.CF_ACCOUNT_ID }}/storage/kv/namespaces/${{ secrets.CF_NAMESPACE_ID }}/values/dev" \
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
-H "Content-Type: text/plain" \