Skip to content

Commit

Permalink
refactor: 배포 스크립트 수정 (#519)
Browse files Browse the repository at this point in the history
* fix: Double로 반환하지 않고 double로 반환해서 평점 조회시 NPE가 발생한 오류 해결

* refactor: ec2 추가함에 따라 배포 스크립트 변경
  • Loading branch information
sosow0212 authored Aug 16, 2023
1 parent 576c095 commit d84dc1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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}}" \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend-dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit d84dc1e

Please sign in to comment.