Skip to content

Commit 45ef9b3

Browse files
author
aehnh
committed
try 1
1 parent e9ef6b5 commit 45ef9b3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/log.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,5 @@ jobs:
2727
AWS_REGION: ${{ secrets.AWS_REGION }}
2828
run: |
2929
TIMESTAMP=$(date +%s000)
30-
LOG_EVENT_JSON=$(jq -n --arg ts "$TIMESTAMP" \
31-
--arg app "complete" \
32-
--arg platform "react" \
33-
--arg run_type "commitly" \
34-
--argjson exec_time 0 \
35-
--argjson passed 0 \
36-
--argjson failed 0 \
37-
--arg link "https://github.com/corbado/javascript/actions/runs/${GITHUB_RUN_ID}" \
38-
'[{timestamp: ($ts|tonumber), message: {application: $app, platform: $platform, run_type: $run_type, execution_time: $exec_time, passed: $passed, failed: $failed, link: $link}}]')
30+
LOG_EVENT_JSON="[{\"timestamp\":$TIMESTAMP,\"message\":\"{\\\"application\\\":\\\"complete\\\",\\\"platform\\\":\\\"react\\\",\\\"run_type\\\":\\\"commitly\\\",\\\"execution_time\\\":0,\\\"passed\\\":0,\\\"failed\\\":0,\\\"link\\\":\\\"https://github.com/corbado/javascript/actions/runs/${GITHUB_RUN_ID}\\\"}\"}]"
3931
aws logs put-log-events --log-group-name "test-results-board" --log-stream-name "$LOG_STREAM_NAME" --log-events "$LOG_EVENT_JSON"

0 commit comments

Comments
 (0)