@@ -36,45 +36,11 @@ jobs:
36
36
- run : npm install
37
37
- run : npm rebuild
38
38
- run : npm run-script build
39
- - name : Configure AWS Credentials (DEPRECIATED)
40
- uses : aws-actions/configure-aws-credentials@v1
41
- with :
42
- aws-access-key-id : ${{ secrets.CDN_ACCESS_KEY_ID }}
43
- aws-secret-access-key : ${{ secrets.CDN_SECRET_ACCESS_KEY }}
44
- aws-region : us-east-2
45
-
46
- - name : Deploy toolbox to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED)
47
- if : ${{ steps.get_version.outputs.prerelease == '' }}
48
- run : aws s3 sync ./dist/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION --delete --acl bucket-owner-full-control
49
- - name : Build examples for minor version if not prelease (DEPRECIATED)
50
- if : ${{ steps.get_version.outputs.prerelease == '' }}
51
- run : npm run-script create-test-html -- --pathprefix=toolkit/$MINORVERSION/examples/
52
- - name : Deploy examples to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED)
53
- if : ${{ steps.get_version.outputs.prerelease == '' }}
54
- run : aws s3 sync ./var/full-site-deploy/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION/examples --delete --acl bucket-owner-full-control
55
- - name : Deploy static images in examples to CDN BRAND S3 bucket for minor version if not prelease (DEPRECIATED)
56
- if : ${{ steps.get_version.outputs.prerelease == '' }}
57
- run : aws s3 sync ./tests/_reference/ s3://cdn.brand.illinois.edu/toolkit/$MINORVERSION/examples/static-images --acl bucket-owner-full-control
58
- - name : Invalidate Cloudfront cache for minor version if not prelease (DEPRECIATED)
59
- if : ${{ steps.get_version.outputs.prerelease == '' }}
60
- run : aws cloudfront create-invalidation --distribution-id E2VPGHCUOM84HO --paths "/toolkit/$MINORVERSION*"
61
-
62
- - name : Deploy toolbox to CDN BRAND S3 bucket for full version (DEPRECIATED)
63
- run : aws s3 sync ./dist/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION --delete --acl bucket-owner-full-control
64
- - name : Build examples for full version (DEPRECIATED)
65
- run : npm run-script create-test-html -- --pathprefix=toolkit/$FULLVERSION/examples/
66
- - name : Deploy examples to CDN BRAND S3 bucket for full version (DEPRECIATED)
67
- run : aws s3 sync ./var/full-site-deploy/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION/examples --delete --acl bucket-owner-full-control
68
- - name : Deploy static images in examples to S3 bucket for full version (DEPRECIATED)
69
- run : aws s3 sync ./tests/_reference/ s3://cdn.brand.illinois.edu/toolkit/$FULLVERSION/examples/static-images --acl bucket-owner-full-control
70
- - name : Invalidate Cloudfront cache for full version (DEPRECIATED)
71
- run : aws cloudfront create-invalidation --distribution-id E2VPGHCUOM84HO --paths "/toolkit/$FULLVERSION*"
72
-
73
39
- name : Configure AWS Credentials
74
40
uses : aws-actions/configure-aws-credentials@v1
75
41
with :
76
- aws-access-key-id : ' AKIAXNR47MADGK2A4HEW '
77
- aws-secret-access-key : ${{ secrets.AWS_SECRET_FOR_AKIAXNR47MADGK2A4HEW }}
42
+ aws-access-key-id : ' AKIAXNR47MADAISLEYYZ '
43
+ aws-secret-access-key : ${{ secrets.AWS_SECRET_FOR_AKIAXNR47MADAISLEYYZ }}
78
44
aws-region : us-east-2
79
45
80
46
- name : Deploy toolbox to S3 bucket for minor version if not prelease
0 commit comments