Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Update deploy_major.yml
Browse files Browse the repository at this point in the history
Removing depreciated code because of changes to v3
  • Loading branch information
bryanjonker-illinois authored May 21, 2024
1 parent 65c2e06 commit ad48dbe
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/deploy_major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,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 major version (DEPRECIATED)
run: aws s3 sync ./dist/ s3://cdn.brand.illinois.edu/toolkit/$MAJORVERSION --delete --acl bucket-owner-full-control
- name: Build examples for major version (DEPRECIATED)
run: npm run-script create-test-html -- --pathprefix=toolkit/$MAJORVERSION/examples/
- name: Deploy examples to CDN BRAND S3 bucket for major version (DEPRECIATED)
run: aws s3 sync ./var/full-site-deploy/ s3://cdn.brand.illinois.edu/toolkit/$MAJORVERSION/examples --delete --acl bucket-owner-full-control
- name: Deploy static images in examples to CDN BRAND S3 bucket for major version (DEPRECIATED)
run: aws s3 sync ./tests/_reference/ s3://cdn.brand.illinois.edu/toolkit/$MAJORVERSION/examples/static-images --acl bucket-owner-full-control
- name: Invalidate Cloudfront cache for major version (DEPRECIATED)
run: aws cloudfront create-invalidation --distribution-id E2VPGHCUOM84HO --paths "/toolkit/$MAJORVERSION*"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit ad48dbe

Please sign in to comment.