Skip to content

Commit 3fede00

Browse files
committed
raw output
1 parent 9179e41 commit 3fede00

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,10 @@ jobs:
142142
ARCHIVE_SIZE=$(stat -c %s /tmp/cloud_function.zip)
143143
144144
PRESIGNED_URL=$(curl -X GET -H "X-Auth-Token: $SCW_SECRET_KEY" \
145-
"https://api.scaleway.com/functions/v1beta1/regions/${{ env.SCW_REGION }}/functions/$SCW_FUNCTION_ID/upload-url?content_length=$ARCHIVE_SIZE" | jq ."url")
146-
echo $PRESIGNED_URL | head -c 10
145+
"https://api.scaleway.com/functions/v1beta1/regions/${{ env.SCW_REGION }}/functions/$SCW_FUNCTION_ID/upload-url?content_length=$ARCHIVE_SIZE" | jq --raw-output ."url")
146+
echo $PRESIGNED_URL | head -c 20
147+
echo $PRESIGNED_URL | tail -c 20
148+
147149
148150
curl -H "Content-Type: application/octet-stream" \
149151
--upload-file /tmp/cloud_function.zip \

0 commit comments

Comments
 (0)