We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8537087 commit 9179e41Copy full SHA for 9179e41
.github/workflows/build.yml
@@ -143,6 +143,12 @@ jobs:
143
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
147
+
148
+ curl -H "Content-Type: application/octet-stream" \
149
+ --upload-file /tmp/cloud_function.zip \
150
+ -H "Content-Length: $ARCHIVE_SIZE" \
151
+ $PRESIGNED_URL
152
- name: Deploy function
153
run: |
154
curl -X POST \
0 commit comments