Skip to content

Commit b987a64

Browse files
committed
right order for deploy
1 parent b3aefb9 commit b987a64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
- name: Install dependencies
2121
run: npm install
2222

23-
- name: Build and Compress
24-
run: npm run release # Changed from npm run build
25-
2623
- name: Configure AWS Credentials
2724
uses: aws-actions/configure-aws-credentials@v2
2825
with:
2926
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
3027
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3128
aws-region: us-east-1 # Change to your S3 region
3229

30+
- name: Build and Compress
31+
run: npm run release # Changed from npm run build
32+
3333
- name: Deploy to S3
3434
run: npm run deploy

0 commit comments

Comments
 (0)