Tries switching S3 upload action provider

This commit is contained in:
Alicia Sykes 2023-08-30 19:42:21 +01:00
parent 359c6ca476
commit 20762dc3ad

View File

@ -54,14 +54,13 @@ jobs:
yarn build
- name: Upload to S3
uses: jakejarvis/s3-sync-action@master
uses: shallwefootball/s3-upload-action@master
id: S3
with:
args: --exclude 'node_modules/*' --follow-symlinks --delete
env:
AWS_S3_BUCKET: web-check-frontend
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'
aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: 'web-check-frontend'
source_dir: ''
- name: Invalidate CloudFront cache
uses: chetan/invalidate-cloudfront-action@v2.4