1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

ci: fix upload folders path on public storage

This commit is contained in:
vdovhanych 2022-03-23 12:34:38 +01:00 committed by matejcik
parent c8dda3242b
commit b365788d88

View File

@ -240,7 +240,7 @@ ui tests fixtures deploy:
- echo "Deploying to $DEPLOY_PATH"
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
- source ${AWS_DEPLOY_DATA}
- aws s3 sync $DEPLOY_PATH s3://$BUCKET/dev/firmware
- aws s3 sync $DEPLOY_PATH s3://$BUCKET/dev/firmware/ui_tests
# This "hack" is needed because aws does not have an easy option to generate autoindex. We fetch the one autogenerated by nginx on local server.
- wget https://firmware.corp.sldev.cz/ui_tests/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/ui_tests
tags:
@ -260,7 +260,7 @@ sync emulators to aws:
- release core unix debug deploy
script:
- source ${AWS_DEPLOY_DATA}
- aws s3 --sync $DEPLOY_PATH s3://$BUCKET/dev/firmware
- aws s3 --sync $DEPLOY_PATH s3://$BUCKET/dev/firmware/releases/emulators
# This "hack" is needed because aws does not have an easy option to generate autoindex. We fetch the one autogenerated by nginx on local server.
- wget https://firmware.corp.sldev.cz/releases/emulators/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/releases/emulators
only: