[Feat] 홈 화면 UI 구현 (#22) #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: client | |
#트리거: 여기서는 main 브랜치에 push되는 경우 | |
on: | |
push: | |
branches: | |
- deploy | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout source code. | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm install | |
working-directory: ./ | |
- name: Build | |
run: npm run build | |
working-directory: ./ | |
- name: SHOW AWS CLI VERSION | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_EC2_METADATA_DISABLED: true | |
run: | | |
aws --version | |
- name: Sync Bucket | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_EC2_METADATA_DISABLED: true | |
run: | | |
aws s3 sync \ | |
--region ap-northeast-2 \ | |
dist s3://ssu-car \ | |
--delete | |
working-directory: ./ |