From 7ffa54728816297699732b5bebd397f1c551b3f2 Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Wed, 23 Mar 2022 15:18:45 +0100 Subject: [PATCH] ci: fix upload of index to public storage --- ci/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/deploy.yml b/ci/deploy.yml index 10e985cbd..e294ea48c 100644 --- a/ci/deploy.yml +++ b/ci/deploy.yml @@ -242,7 +242,7 @@ ui tests fixtures deploy: - source ${AWS_DEPLOY_DATA} - 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 + - wget https://firmware.corp.sldev.cz/ui_tests/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/ui_tests/ tags: - deploy @@ -262,7 +262,7 @@ sync emulators to aws: - source ${AWS_DEPLOY_DATA} - 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 + - wget https://firmware.corp.sldev.cz/releases/emulators/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/releases/emulators/ only: - /^core\// except: