Skip to content

Commit b730e6a

Browse files
committed
fix upload command args
1 parent cec08d5 commit b730e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
media_id=`echo $mxc | sed 's^mxc://.*/\(.*\)^\1^'`
6060
#Upload the file to S3 and delete from Synapse's local store. This forces retrieval from S3 on download.
6161
synapse/env/bin/s3_media_upload --no-progress update --homeserver-config-path synapse/homeserver.yaml /tmp/data 0d
62-
synapse/env/bin/s3_media_upload --no-progress upload --delete /tmp/data
62+
synapse/env/bin/s3_media_upload --no-progress upload --delete --endpoint-url http://127.0.0.1:9000/ /tmp/data s3-storage-provider-tester
6363
#Downloading uploaded file
6464
curl -q -o round_trip -H "Authorization: Bearer $access_token" http://127.0.0.1:8008/_matrix/client/v1/media/download/${server_name}/${media_id}
6565
#Verify file against original

0 commit comments

Comments
 (0)