diff --git a/.github/workflows/backend-dev-deploy.yml b/.github/workflows/backend-dev-deploy.yml index a72130ee9..521367b76 100644 --- a/.github/workflows/backend-dev-deploy.yml +++ b/.github/workflows/backend-dev-deploy.yml @@ -69,7 +69,7 @@ jobs: DATABASE_USERNAME: ${{ secrets.DATABASE_USERNAME }} DATABASE_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} with: - host: ${{ secrets.SERVER_HOST }} + host: ${{ secrets.DEVELOP_SERVER_HOST }} username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_KEY }} port: ${{ secrets.SERVER_PORT }} @@ -80,7 +80,7 @@ jobs: sudo docker stop backend-dev || true sudo docker container prune -f - sudo docker run -d -p 8081:8080 \ + sudo docker run -d -p 8080:8080 \ -e "SPRING_PROFILE=dev" \ -e "ENCRYPT_KEY=${{secrets.JASYPT_KEY}}" \ -e "DATABASE_USERNAME=${{secrets.DATABASE_USERNAME}}" \ diff --git a/.github/workflows/frontend-dev-deploy.yml b/.github/workflows/frontend-dev-deploy.yml index 17ee74381..de07ac0ef 100644 --- a/.github/workflows/frontend-dev-deploy.yml +++ b/.github/workflows/frontend-dev-deploy.yml @@ -45,7 +45,7 @@ jobs: - name: Join EC2 dev server uses: appleboy/ssh-action@master with: - host: ${{ secrets.SERVER_HOST }} + host: ${{ secrets.DEVELOP_SERVER_HOST }} username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_KEY }} port: ${{ secrets.SERVER_PORT }} @@ -56,7 +56,7 @@ jobs: sudo docker pull woowacarffeine/frontend-dev:latest - sudo docker run -d -p 3001:3000 \ + sudo docker run -d -p 3000:3000 \ --name frontend-dev \ woowacarffeine/frontend-dev:latest