From 8498e2e1cfbc4d0e537dfe307bab4e6c3de91c9a Mon Sep 17 00:00:00 2001 From: harkirat Date: Sun, 31 Mar 2024 18:16:41 +0530 Subject: [PATCH] Update workflow --- .github/workflows/push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c1be31b..b571d23 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -39,7 +39,7 @@ jobs: username: ${{ secrets.SSH_USERNAME }} key: ${{ secrets.SSH_KEY }} script: | - docker pull 100xdevs/web-app:latest - docker stop web-app || true - docker rm web-app || true - docker run -d --name web-app -p 3005:3000 100xdevs/web-app:latest \ No newline at end of file + sudo docker pull 100xdevs/web-app:latest + sudo docker stop web-app || true + sudo docker rm web-app || true + sudo docker run -d --name web-app -p 3005:3000 100xdevs/web-app:latest \ No newline at end of file