diff --git a/.github/workflows/aggregate-distro-update-sites.yml b/.github/workflows/aggregate-distro-update-sites.yml index 6ad866160..f41824def 100644 --- a/.github/workflows/aggregate-distro-update-sites.yml +++ b/.github/workflows/aggregate-distro-update-sites.yml @@ -81,19 +81,19 @@ jobs: cat ./compositeContent.xml if [[ ${dir_name} == ${{ inputs.latest }} ]]; then aws s3 cp ./compositeArtifacts.xml s3://tools-spring-io/release/TOOLS/sts4/update/latest/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/latest/compositeArtifacts.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/latest/compositeArtifacts.xml " aws s3 cp ./compositeContent.xml s3://tools-spring-io/release/TOOLS/sts4/update/latest/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/latest/compositeContent.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/latest/compositeContent.xml " aws s3 cp ./p2.index s3://tools-spring-io/release/TOOLS/sts4/update/latest/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/latest/p2.index " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/latest/p2.index " echo "TODO: Purge Cache" fi aws s3 mv ./compositeArtifacts.xml s3://tools-spring-io/release/TOOLS/sts4/update/${dir} - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/${dir_name}/compositeArtifacts.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/${dir_name}/compositeArtifacts.xml " aws s3 mv ./compositeContent.xml s3://tools-spring-io/release/TOOLS/sts4/update/${dir} - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/${dir_name}/compositeContent.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/${dir_name}/compositeContent.xml " aws s3 mv ./p2.index s3://tools-spring-io/release/TOOLS/sts4/update/${dir} - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4/update/${dir_name}/p2.index " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/${dir_name}/p2.index " fi done echo "invalid_urls=$invalid_urls" >> $GITHUB_OUTPUT diff --git a/.github/workflows/aggregate-ls-extensions-update-site.yml b/.github/workflows/aggregate-ls-extensions-update-site.yml index 4a080b462..8cff4af9c 100644 --- a/.github/workflows/aggregate-ls-extensions-update-site.yml +++ b/.github/workflows/aggregate-ls-extensions-update-site.yml @@ -54,11 +54,11 @@ jobs: cat ./compositeArtifacts.xml cat ./compositeContent.xml aws s3 cp ./compositeArtifacts.xml s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/compositeArtifacts.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/compositeArtifacts.xml " aws s3 cp ./compositeContent.xml s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/compositeContent.xml " + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/compositeContent.xml " aws s3 cp ./p2.index s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/ - invalid_urls+="s3://tools-spring-io/release/TOOLS/sts4-language-server-integrations/p2.index" + invalid_urls+="https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/p2.index" echo "invalid_urls=$invalid_urls" >> $GITHUB_OUTPUT purge_cache: