mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
ci: fix upload of index to public storage
This commit is contained in:
parent
6af119fcdd
commit
7ffa547288
@ -242,7 +242,7 @@ ui tests fixtures deploy:
|
|||||||
- source ${AWS_DEPLOY_DATA}
|
- source ${AWS_DEPLOY_DATA}
|
||||||
- aws s3 sync $DEPLOY_PATH s3://$BUCKET/dev/firmware/ui_tests
|
- 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.
|
# 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
|
- wget https://firmware.corp.sldev.cz/ui_tests/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/ui_tests/
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ sync emulators to aws:
|
|||||||
- source ${AWS_DEPLOY_DATA}
|
- source ${AWS_DEPLOY_DATA}
|
||||||
- aws s3 --sync $DEPLOY_PATH s3://$BUCKET/dev/firmware/releases/emulators
|
- 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.
|
# 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
|
- wget https://firmware.corp.sldev.cz/releases/emulators/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/releases/emulators/
|
||||||
only:
|
only:
|
||||||
- /^core\//
|
- /^core\//
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user