Skip to content

Commit

Permalink
publish: CICD.yml 설정 변경(8)
Browse files Browse the repository at this point in the history
  • Loading branch information
pastjung committed Apr 18, 2024
1 parent 7b3c650 commit 00414e7
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,24 @@ jobs:
node-version: '14'
npm: 'latest'

# - name: make .env
# run: |
# cd src/main/wuzuzu_fe
# touch .env
# shell: bash
#
# - name: Generate .env
# run: |
# cd src/main/wuzuzu_fe
# echo "REACT_APP_IMP=$REACT_APP_IMP" >> .env
# echo "REACT_APP_IMP_KAKAO=$REACT_APP_IMP_KAKAO" >> .env
# shell: bash
# env:
# REACT_APP_IMP: ${{ secrets.REACT_APP_IMP }}
# REACT_APP_IMP_KAKAO: ${{ secrets.REACT_APP_IMP_KAKAO }}
- name: make .env
run: |
cd src/main/wuzuzu_fe
touch .env
shell: bash

- name: Install frontend dependencies
- name: Generate .env
run: |
cd src/main/wuzuzu_fe
echo "REACT_APP_IMP=$REACT_APP_IMP" >> .env
echo "REACT_APP_IMP_KAKAO=$REACT_APP_IMP_KAKAO" >> .env
shell: bash
env:
REACT_APP_IMP: ${{ secrets.REACT_APP_IMP }}
REACT_APP_IMP_KAKAO: ${{ secrets.REACT_APP_IMP_KAKAO }}

- name: Install frontend dependencies
run: |
npm install
cd ..
Expand Down

0 comments on commit 00414e7

Please sign in to comment.