Skip to content

Commit

Permalink
merge: [FE] 프론트엔드 배포 (#154)
Browse files Browse the repository at this point in the history
merge: [FE] 프론트엔드 배포 (#154)
  • Loading branch information
d0422 authored Nov 28, 2023
2 parents 5c586d7 + 661e9b5 commit 99cb20e
Show file tree
Hide file tree
Showing 42 changed files with 1,086 additions and 336 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/back-api-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read

jobs:
api-server-ci:
api-server-cd:
runs-on: ubuntu-latest
steps:
- name: ✅ 코드 체크아웃
Expand All @@ -20,7 +20,7 @@ jobs:

- name: ⬇️ 의존성 설치
working-directory: ./backEnd/api
run: npm install
run: npm ci

- name: 📦 프로젝트 빌드
working-directory: ./backEnd/api
Expand Down Expand Up @@ -49,6 +49,7 @@ jobs:
cd /root
echo "WEB_HOOK_URL=${{secrets.WEB_HOOK_URL}}" > .env
echo "PORT=${{secrets.PORT}}" >> .env
echo "API_DOMAIN=${{secrets.API_DOMAIN}}" >> .env
echo "DB_HOST=${{secrets.DB_HOST}}" >> .env
echo "DB_PORT=${{secrets.DB_PORT}}" >> .env
echo "DB_USERNAME=${{secrets.DB_USERNAME}}" >> .env
Expand Down Expand Up @@ -77,4 +78,7 @@ jobs:
echo "SLAVE_DB_USERNAME=${{secrets.SLAVE_DB_USERNAME}}" >> .env
echo "SLAVE_DB_PASSWORD=${{secrets.SLAVE_DB_PASSWORD}}" >> .env
echo "SLAVE_DB_DATABASE=${{secrets.SLAVE_DB_DATABASE}}" >> .env
echo "CLIENT_ID_GOOGLE=${{secrets.CLIENT_ID_GOOGLE}}" >> .env
echo "CLIENT_SECRET_GOOGLE=${{secrets.CLIENT_SECRET_GOOGLE}}" >> .env
bash deploy.sh >> /dev/deploy.log 2>&1
2 changes: 1 addition & 1 deletion .github/workflows/back-api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read

jobs:
running-server:
api-server-ci:
runs-on: ubuntu-latest
steps:
- name: ✅ 코드 체크아웃
Expand Down
Loading

0 comments on commit 99cb20e

Please sign in to comment.