Skip to content

Commit

Permalink
merger: [BE] release 수정 #79
Browse files Browse the repository at this point in the history
release: [BE] 백엔드 배포 수정
  • Loading branch information
Gseungmin authored Nov 20, 2023
2 parents 4462406 + e034920 commit 066e936
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/back-center-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
center-server:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -43,9 +43,9 @@ jobs:
key: ${{ secrets.CENTER_PASSWORD }}
script: |
echo "PORT=${{ secrets.CENTER_SERVER_PORT }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.CENTER_ALLOWED_ORIGIN }}" > /root/.env
echo "NODE_ENV=production" > /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" > /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" > /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.CENTER_ALLOWED_ORIGIN }}" >> /root/.env
echo "NODE_ENV=production" >> /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" >> /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" >> /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" >> /root/.env
./deploy.sh
4 changes: 2 additions & 2 deletions .github/workflows/back-center-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: backEnd chat server CI
name: backEnd center server CI

on:
pull_request:
Expand All @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
center-server:
runs-on: ubuntu-latest

steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/back-chat-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
chat-server:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,9 +44,9 @@ jobs:
port: ${{secrets.CHAT_PORT}}
script: |
echo "PORT=${{ secrets.CHAT_SERVER_PORT }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.CHAT_ALLOWED_ORIGIN }}" > /root/.env
echo "NODE_ENV=production" > /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" > /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" > /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.CHAT_ALLOWED_ORIGIN }}" >> /root/.env
echo "NODE_ENV=production" >> /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" >> /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" >> /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" >> /root/.env
./deploy.sh
2 changes: 1 addition & 1 deletion .github/workflows/back-chat-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
chat-server:
runs-on: ubuntu-latest

steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/back-running-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
port: ${{secrets.RUNNING_PORT}}
script: |
echo "PORT=${{ secrets.RUNNING_SERVER_PORT }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.RUNNING_ALLOWED_ORIGIN }}" > /root/.env
echo "WEB_HOOK_URL=${{ secrets.WEB_HOOK_URL }}" > /root/.env
echo "NODE_ENV=production" > /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" > /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" > /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.RUNNING_ALLOWED_ORIGIN }}" >> /root/.env
echo "WEB_HOOK_URL=${{ secrets.WEB_HOOK_URL }}" >> /root/.env
echo "NODE_ENV=production" >> /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" >> /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" >> /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" >> /root/.env
./deploy.sh
14 changes: 7 additions & 7 deletions .github/workflows/back-signaling-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
signaling-server:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,10 +44,10 @@ jobs:
port: ${{secrets.SIGNALING_PORT}}
script: |
echo "PORT=${{ secrets.SIGNALING_SERVER_PORT }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.SIGNALING_ALLOWED_ORIGIN }}" > /root/.env
echo "SOCKET_URL=${{ secrets.SERVER_A_SOCKET_URL }}" > /root/.env
echo "NODE_ENV=production" > /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" > /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" > /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" > /root/.env
echo "ALLOWED_ORIGIN=${{ secrets.SIGNALING_ALLOWED_ORIGIN }}" >> /root/.env
echo "SOCKET_URL=${{ secrets.SERVER_A_SOCKET_URL }}" >> /root/.env
echo "NODE_ENV=production" >> /root/.env
echo "REDIS_HOST=${{ secrets.REDIS_HOST }}" >> /root/.env
echo "REDIS_PORT=${{ secrets.REDIS_PORT }}" >> /root/.env
echo "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}" >> /root/.env
./deploy.sh
2 changes: 1 addition & 1 deletion .github/workflows/back-signaling-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
running-server:
signaling-server:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 066e936

Please sign in to comment.