Skip to content

Commit

Permalink
deploy: ssh 접속 후 도커 재시작 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxoxo committed Nov 29, 2023
1 parent a00027f commit 9dcaa49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
password: ${{secrets.VPC_PASSWORD}}
port: ${{secrets.VPC_PORT}}
script: |
cd /home/docker-byeolsoop
docker system prune -a
cd /home/docker-byeolsoop/srcs
docker system prune -f
docker pull byeolsoop-registry.kr.ncr.ntruss.com/backend:byeolsoop
docker compose up --force-recreate --build -d --quiet-pull 2>log.out
docker compose up --force-recreate --build -d 2>log.out
cat log.out
6 changes: 3 additions & 3 deletions .github/workflows/deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
password: ${{secrets.VPC_PASSWORD}}
port: ${{secrets.VPC_PORT}}
script: |
cd /home/docker-byeolsoop
docker system prune -a
cd /home/docker-byeolsoop/srcs
docker system prune -f
docker pull byeolsoop-registry.kr.ncr.ntruss.com/frontend:byeolsoop
docker compose up --force-recreate --build -d --quiet-pull 2>log.out
docker compose up --force-recreate --build -d 2>log.out
cat log.out

0 comments on commit 9dcaa49

Please sign in to comment.