From 8ebaa256aba2eb7ecd3923147296a748f1df64e2 Mon Sep 17 00:00:00 2001 From: gabang2 Date: Fri, 31 May 2024 04:28:45 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=A0=EC=B9=A8:=20actions=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=EB=90=9C=20=EB=B6=80=EB=B6=84=20rollback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baf61fc..e7c3a64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,8 +49,8 @@ jobs: key: ${{ secrets.KEY }} envs: GITHUB_SHA script: | - sudo docker stop ticats || true - sudo docker rm ticats || true - sudo docker image rm ${{ secrets.DOCKER_USERNAME }}/ticats:latest || true - sudo docker pull ${{ secrets.DOCKER_USERNAME }}/ticats:latest - sudo docker run -d -p 8080:8080 --name ticats -v ${{ secrets.DOCKER_USERNAME }}/ticats:latest + sudo docker stop ticats + sudo docker rm ticats + sudo docker image rm gabang2/ticats:latest + sudo docker pull gabang2/ticats:latest + sudo docker run -d -p 8080:8080 --name ticats ${{ secrets.ENVS }} gabang2/ticats:latest