diff --git a/.github/workflows/deploy-backend.yml b/.github/workflows/deploy-backend.yml index 2e45fbd..75b898b 100644 --- a/.github/workflows/deploy-backend.yml +++ b/.github/workflows/deploy-backend.yml @@ -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 diff --git a/.github/workflows/deploy-frontend.yml b/.github/workflows/deploy-frontend.yml index fdd2b86..6508b89 100644 --- a/.github/workflows/deploy-frontend.yml +++ b/.github/workflows/deploy-frontend.yml @@ -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