Skip to content

Commit

Permalink
WebApp - Cambia estrategia de deploy con aws cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Di Gulio committed Dec 26, 2023
1 parent e445743 commit 4b5d62f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/webApp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
cd webapp
yarn build
- name: Upload S3
uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_bucket: ${{ secrets.S3_BUCKET_NAME }}
source_dir: 'webapp/build'
- name: Deploy to S3
run: |
aws s3 sync webapp/build/ s3://${{ secrets.S3_BUCKET_NAME }} --delete
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 4b5d62f

Please sign in to comment.