Skip to content

Commit

Permalink
Update deploy3_workflow.yml
Browse files Browse the repository at this point in the history
Clean up notes
  • Loading branch information
bryanjonker-illinois authored Jun 28, 2023
1 parent 876f08b commit 5ee4a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy3_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5ee4a93

Please sign in to comment.