From 65c2e064cf70fb9eaa11791c81a7ea9c50eea4d7 Mon Sep 17 00:00:00 2001 From: Bryan Jonker <65776851+bryanjonker-illinois@users.noreply.github.com> Date: Tue, 21 May 2024 12:32:20 -0500 Subject: [PATCH] Update deploy_minor.yml Removing depreciated code because of changes to v3 --- .github/workflows/deploy_minor.yml | 34 ------------------------------ 1 file changed, 34 deletions(-) diff --git a/.github/workflows/deploy_minor.yml b/.github/workflows/deploy_minor.yml index 7b199413..8a7346bb 100644 --- a/.github/workflows/deploy_minor.yml +++ b/.github/workflows/deploy_minor.yml @@ -36,40 +36,6 @@ jobs: - run: npm install - run: npm rebuild - run: npm run-script build - - name: Configure AWS Credentials (DEPRECIATED) - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.CDN_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.CDN_SECRET_ACCESS_KEY }} - aws-region: us-east-2 - - - name: Deploy toolbox to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED) - if: ${{ steps.get_version.outputs.prerelease == '' }} - run: aws s3 sync ./dist/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION --delete --acl bucket-owner-full-control - - name: Build examples for minor version if not prelease (DEPRECIATED) - if: ${{ steps.get_version.outputs.prerelease == '' }} - run: npm run-script create-test-html -- --pathprefix=toolkit/$MINORVERSION/examples/ - - name: Deploy examples to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED) - if: ${{ steps.get_version.outputs.prerelease == '' }} - run: aws s3 sync ./var/full-site-deploy/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION/examples --delete --acl bucket-owner-full-control - - name: Deploy static images in examples to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED) - if: ${{ steps.get_version.outputs.prerelease == '' }} - run: aws s3 sync ./tests/_reference/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION/examples/static-images --acl bucket-owner-full-control - - name: Invalidate Cloudfront cache for minor version if not prelease (DEPRECIATED) - if: ${{ steps.get_version.outputs.prerelease == '' }} - run: aws cloudfront create-invalidation --distribution-id E2VPGHCUOM84HO --paths "/toolkit/$MINORVERSION*" - - - name: Deploy toolbox to CDN BRAND S3 bucket for full version (DEPRECIATED) - run: aws s3 sync ./dist/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION --delete --acl bucket-owner-full-control - - name: Build examples for full version (DEPRECIATED) - run: npm run-script create-test-html -- --pathprefix=toolkit/$FULLVERSION/examples/ - - name: Deploy examples to CDN BRAND S3 bucket for full version (DEPRECIATED) - run: aws s3 sync ./var/full-site-deploy/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION/examples --delete --acl bucket-owner-full-control - - name: Deploy static images in examples to S3 bucket for full version (DEPRECIATED) - run: aws s3 sync ./tests/_reference/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION/examples/static-images --acl bucket-owner-full-control - - name: Invalidate Cloudfront cache for full version (DEPRECIATED) - run: aws cloudfront create-invalidation --distribution-id E2VPGHCUOM84HO --paths "/toolkit/$FULLVERSION*" - - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: