Skip to content

Commit

Permalink
Fix: ssh server env 주입
Browse files Browse the repository at this point in the history
  • Loading branch information
kyr4601 authored Jul 3, 2024
1 parent 4c3af04 commit 2633ac7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/mainDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
working-directory: ./apps/client
env:
SERVER_URL: ${{ secrets.SERVER_URL }}

- name: Generate Environment Variables File for Server
run: echo "SERVER_PORT=$SERVER_PORT" >> .env
working-directory: ./apps/server
env:
SERVER_PORT: ${{ secrets.SERVER_PORT }}

- name: Login to Docker Hub
uses: docker/login-action@v2
Expand All @@ -64,6 +58,7 @@ jobs:
username: ${{ secrets.USER }}
script: |
cd ./kkoo
echo "SERVER_PORT=${{ secrets.SERVER_PORT }}" >> ./apps/server/.env
docker compose down
docker compose pull
docker compose up -d
Expand Down

0 comments on commit 2633ac7

Please sign in to comment.