Commit 3fede00 1 parent 9179e41 commit 3fede00 Copy full SHA for 3fede00
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,10 @@ jobs:
142
142
ARCHIVE_SIZE=$(stat -c %s /tmp/cloud_function.zip)
143
143
144
144
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
+
147
149
148
150
curl -H "Content-Type: application/octet-stream" \
149
151
--upload-file /tmp/cloud_function.zip \
You can’t perform that action at this time.
0 commit comments