mirror of
https://github.com/Lissy93/web-check.git
synced 2024-11-22 08:13:59 +01:00
Tries switching S3 upload action provider
This commit is contained in:
parent
359c6ca476
commit
20762dc3ad
13
.github/workflows/deploy-aws.yml
vendored
13
.github/workflows/deploy-aws.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user