From e00226c44223f5a6f655bfd73cfad0c96bcfe7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EA=B7=BC=ED=98=81?= Date: Sun, 28 Jan 2024 23:23:47 +0900 Subject: [PATCH] feat : Update be-autodeploy.yml --- .github/workflows/be-autodeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/be-autodeploy.yml b/.github/workflows/be-autodeploy.yml index d789754..104db7c 100644 --- a/.github/workflows/be-autodeploy.yml +++ b/.github/workflows/be-autodeploy.yml @@ -62,8 +62,8 @@ jobs: username: ${{ secrets.DEV_USERNAME }} port: 22 script : | - docker pull ${{ secrets.NCP_CONTAINER_REGISTRY }}/nibobnebob docker stop my_was_container docker rm my_was_container + docker pull ${{ secrets.NCP_CONTAINER_REGISTRY }}/nibobnebob docker run -d -p 8000:8000 -e API_KEY=${{ secrets.DEV_APIKEY }} --name my_was_container --network mynetwork ${{ secrets.NCP_CONTAINER_REGISTRY }}/nibobnebob docker image prune -f