diff --git a/.github/workflows/aggregate-distro-update-sites.yml b/.github/workflows/aggregate-distro-update-sites.yml index 199fcc6f2..6cd6ebea9 100644 --- a/.github/workflows/aggregate-distro-update-sites.yml +++ b/.github/workflows/aggregate-distro-update-sites.yml @@ -44,14 +44,14 @@ jobs: cat ./compositeArtifacts.xml cat ./compositeContent.xml if [[ ${dir_name} == ${{ inputs.latest }} ]]; then - echo "aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read" - echo "aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read" - echo "aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read" - echo "Clear caches for path release/TOOLS/sts4/update/latest" + aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read + aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read + aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/latest --dryrun --acl public-read + ${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4/update/latest fi - echo "aws s3 mv ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read" - echo "aws s3 mv ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read" - echo "aws s3 mv ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read" - echo "Clear caches for path release/TOOLS/sts4/update/${dir_name}" + aws s3 mv ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read + aws s3 mv ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read + aws s3 mv ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/${dir} --dryrun --acl public-read + ${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4/update/${dir_name} fi done \ No newline at end of file diff --git a/.github/workflows/aggregate-ls-extensions-update-site.yml b/.github/workflows/aggregate-ls-extensions-update-site.yml index 9bd59ac01..e18635dd3 100644 --- a/.github/workflows/aggregate-ls-extensions-update-site.yml +++ b/.github/workflows/aggregate-ls-extensions-update-site.yml @@ -36,7 +36,7 @@ jobs: ${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url cat ./compositeArtifacts.xml cat ./compositeContent.xml - echo "aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --dryrun --acl public-read" - echo "aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --dryrun --acl public-read" - echo "aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/sts4-language-server-integrations/ --dryrun --acl public-read" - echo "Clear caches for path release/TOOLS/sts4/update/sts4-language-server-integrations" + aws s3 cp ./compositeArtifacts.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --dryrun --acl public-read + aws s3 cp ./compositeContent.xml s3://dist.springsource.com/release/TOOLS/sts4-language-server-integrations/ --dryrun --acl public-read + aws s3 cp ./p2.index s3://dist.springsource.com/release/TOOLS/sts4/update/sts4-language-server-integrations/ --dryrun --acl public-read + ${{ github.workspace }}/.github/scripts/clear-s3-caches.sh release/TOOLS/sts4/update/sts4-language-server-integrations