언어 전환을 한글에서는 영어가, 영어에서는 한글로 표시되도록 수정 #98
This file contains hidden or 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: dev-CD | |
on: | |
push: | |
branches: [develop] | |
jobs: | |
cd: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_DEV }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }} | |
aws-region: ap-northeast-2 | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Cache node modules | |
uses: actions/cache@v4.0.1 | |
with: | |
path: node_modules | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: | | |
yarn build | |
- name: Deploy | |
run: | | |
aws s3 sync --delete ./build s3://pycon-dev2024.pycon.kr --region ap-northeast-2 | |
# - name: Deploy to pay | |
# run: | | |
# aws s3 sync --delete ./build s3://pyconkr-payment --region ap-northeast-2 |