Skip to content

Commit

Permalink
fix: git action npm bug
Browse files Browse the repository at this point in the history
front 디렉터리 λ‚΄λΆ€μ—μ„œ npm 을 μ‹€ν–‰ν•˜μ§€ μ•Šμ•„ fix
  • Loading branch information
kcwww committed Nov 10, 2023
1 parent e4d3664 commit 6159e57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/FrontEnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ jobs:
run: node -v

- name: Install dependencies
working-directory: ./front
run: npm install

- name: Generate build
working-directory: ./front
run: npm run build

- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 sync dist s3://snowball-ssock --region ap-northeast-2 --delete
aws s3 sync ./front/dist s3://snowball-ssock --region ap-northeast-2 --delete
# μ—…λ‘œλ“œν•œ s3 νŒŒμΌμ„ 각 CDN μΊμ‹œ λ¬΄νš¨ν™”ν•˜μ—¬ λ¦¬ν”„λ ˆμ‹œ ν•˜κΈ°
- name: CloudFront Invalidation
Expand Down

0 comments on commit 6159e57

Please sign in to comment.