GHA: Test gen downloads page on Akamai

This commit is contained in:
aboyko
2023-11-09 22:56:16 -05:00
parent 26b60a0201
commit 14e534b08e

View File

@@ -27,7 +27,6 @@ jobs:
echo '<ul>' >> $downloads_html
for file in $files
do
echo "entry: ${file}"
if [[ "$file" =~ ^"s3://tools-spring-io" ]]; then
download_url=https://cdn.spring.io/spring-tools${file:20}
filename=${file:${#s3_url}}
@@ -37,6 +36,7 @@ jobs:
echo '</ul>' >> $downloads_html
cat ./$downloads_html
aws s3 mv ./$downloads_html s3://tools-spring-io/snapshot/STS4/ --dryrun
aws s3 ls ${s3_url}