From 09a51474e753bae6efd66ae4646eaf370a3e9cfe Mon Sep 17 00:00:00 2001 From: Tina Jeong <53592454+tinajeong@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:31:24 +0900 Subject: [PATCH] =?UTF-8?q?Github=20deploy=20=EB=B0=9C=EC=83=9D=20?= =?UTF-8?q?=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 00079e5..6adef75 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,7 @@ name: Deploy -on: [] +on: + push env: REPO: lyf-jarvis-back @@ -68,4 +69,4 @@ jobs: fi sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest - sudo docker run -d --name lyf-jarvis-back-${{ github.sha }} -p 8081:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest \ No newline at end of file + sudo docker run -d --name lyf-jarvis-back-${{ github.sha }} -p 8081:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest