Browse Source

chore(ci/push): don't fail if failed to PUT size (#4041)

tags/v31.0.3
Sid Vishnoi 6 months ago committed by GitHub
parent
commit
ae8db261ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/push.yml

3
.github/workflows/push.yml

@ -37,8 +37,9 @@ jobs:
npx brrr builds/respec-w3c.js -o builds
file_size=$(stat -c%s "builds/respec-w3c.js")
xfer_file_size=$(stat -c%s "builds/respec-w3c.js.br")
curl --fail -L -X PUT "https://respec.org/respec/size" \
curl -L -X PUT "https://respec.org/respec/size" \
-H "Authorization: $RESPEC_SECRET" \
-s -w "HTTP Response Code: %{http_code}\n" \
-d "size=$file_size" -d "xferSize=$xfer_file_size "\
-d "sha=$GITHUB_SHA" -d "timestamp=$timestamp"
env:

Loading…
Cancel
Save