Skip to content

Commit ae8db26

Browse files
authored
chore(ci/push): don't fail if failed to PUT size (#4041)
1 parent a1dabeb commit ae8db26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
npx brrr builds/respec-w3c.js -o builds
3838
file_size=$(stat -c%s "builds/respec-w3c.js")
3939
xfer_file_size=$(stat -c%s "builds/respec-w3c.js.br")
40-
curl --fail -L -X PUT "https://respec.org/respec/size" \
40+
curl -L -X PUT "https://respec.org/respec/size" \
4141
-H "Authorization: $RESPEC_SECRET" \
42+
-s -w "HTTP Response Code: %{http_code}\n" \
4243
-d "size=$file_size" -d "xferSize=$xfer_file_size "\
4344
-d "sha=$GITHUB_SHA" -d "timestamp=$timestamp"
4445
env:

0 commit comments

Comments
 (0)