From 5ee4a93bc04166cd7b9817e4ff53a7bf8704cba5 Mon Sep 17 00:00:00 2001 From: Bryan Jonker <65776851+bryanjonker-illinois@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:15:37 -0500 Subject: [PATCH] Update deploy3_workflow.yml Clean up notes --- .github/workflows/deploy3_workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy3_workflow.yml b/.github/workflows/deploy3_workflow.yml index 8cc8e0fb..05bc2475 100644 --- a/.github/workflows/deploy3_workflow.yml +++ b/.github/workflows/deploy3_workflow.yml @@ -23,7 +23,7 @@ jobs: env: GITHUB_BRANCH: ${{ github.event.inputs.version }} - name: Display version install - run: echo "Installing dev version ${VERSION}" + run: echo "Installing CDN version ${VERSION}" - run: npm install - run: npm rebuild @@ -34,7 +34,7 @@ jobs: aws-access-key-id: 'AKIAXNR47MADGK2A4HEW' aws-secret-access-key: ${{ secrets.AWS_SECRET_FOR_AKIAXNR47MADGK2A4HEW }} aws-region: us-east-2 - - name: Delete S3 bucket in dev area + - name: Delete S3 bucket in CDN area run: aws s3 rm s3://cdn.toolkit.illinois.edu/content/$VERSION --recursive - - name: Deploy toolbox to S3 bucket in dev area + - name: Deploy toolbox to S3 bucket in CDN area run: aws s3 sync ./dist/ s3://cdn.toolkit.illinois.edu/content/$VERSION --delete --acl bucket-owner-full-control