Skip to content

Commit

Permalink
Test s3 sync
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Oct 2, 2023
1 parent 9a975a2 commit 0cfd6cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ jobs:
role-session-name: GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ vars.AWS_REGION }}

- name: Sts GetCallerIdentity
run: |
aws sts get-caller-identity
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Test build website
run: bun run build

- name: Deploy to S3
run: aws s3 sync ./dist/ s3://${{ secrets.BUCKET_ID }}

0 comments on commit 0cfd6cb

Please sign in to comment.