Skip to content

Commit

Permalink
Upload the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
eternaltyro committed Apr 17, 2024
1 parent 513a83c commit 75c7d1e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/frontend_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@ jobs:
- name: Build frontend
run: cd frontend/ && npm run build

- name: Upload to S3
- name: Authenticate to AWS
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_OIDC_ROLE }}
role-session-name: fAIrGithub

- name: Install AWS CLI
run: |
ls -lh;
aws s3 cp build/ s3://${{ vars.FRONTEND_BUCKET }}/
- name: Upload to S3
run: aws s3 cp frontend/build/* s3://${{ vars.FRONTEND_BUCKET }}/

0 comments on commit 75c7d1e

Please sign in to comment.