mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
ci: fix subdirectory upload to s3 (#1398)
This commit is contained in:
committed by
GitHub
parent
59f5eb4c17
commit
2316da0523
@@ -253,8 +253,8 @@ publish-s3-release:
|
|||||||
- echo "uploading objects to https://${BUCKET}/${PREFIX}/${VERSION}"
|
- echo "uploading objects to https://${BUCKET}/${PREFIX}/${VERSION}"
|
||||||
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/${VERSION}/
|
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/${VERSION}/
|
||||||
- echo "update objects at https://${BUCKET}/${PREFIX}/${EXTRATAG}"
|
- echo "update objects at https://${BUCKET}/${PREFIX}/${EXTRATAG}"
|
||||||
- for file in ./artifacts/*; do
|
- find ./artifacts -type f | while read file; do
|
||||||
name="$(basename ${file})";
|
name="${file#./artifacts/}";
|
||||||
aws s3api copy-object
|
aws s3api copy-object
|
||||||
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
|
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
|
||||||
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
|
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
|
||||||
|
|||||||
Reference in New Issue
Block a user