Skip to content

Update README 악보의 정원 href #9

Update README 악보의 정원 href

Update README 악보의 정원 href #9

Workflow file for this run

name: mainCICD
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Generate Environment Variables File
run: |
echo "REACT_APP_BASIC=$REACT_APP_BASIC" >> .env
echo "REACT_APP_CLIENT=$REACT_APP_CLIENT" >> .env
echo "REACT_APP_REFRESH=$REACT_APP_REFRESH" >> .env
echo "REACT_APP_SECRET=$REACT_APP_SECRET" >> .env
working-directory: ./client
env:
REACT_APP_BASIC: ${{ secrets.REACT_APP_BASIC }}
REACT_APP_CLIENT: ${{ secrets.REACT_APP_CLIENT }}
REACT_APP_REFRESH: ${{ secrets.REACT_APP_REFRESH }}
REACT_APP_SECRET: ${{ secrets.REACT_APP_SECRET }}
- name: Install Dependencies
run: npm install
working-directory: ./client
- name: Build
run: npm run build
working-directory: ./client
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 cp \
--recursive \
--region ap-northeast-2 \
build s3://music-garden
working-directory: ./client