Skip to content

Commit

Permalink
try again yo
Browse files Browse the repository at this point in the history
  • Loading branch information
aehnh committed Feb 11, 2025
1 parent cfe145b commit 7f6d131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
run: |
SUMMARY="[Test Result] 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}"
TIMESTAMP=$(date +%s000)
LOG_EVENT_JSON="[{\"timestamp\":$TIMESTAMP,\"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}\"}]"
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}\\\"}\"}]"
aws logs put-log-events --log-group-name "test-results-board" --log-stream-name "$LOG_STREAM_NAME" --log-events "$LOG_EVENT_JSON"

0 comments on commit 7f6d131

Please sign in to comment.