From a4d99fd09e36e3bb2fecaa7b94eb7f2888d53011 Mon Sep 17 00:00:00 2001 From: DoHyeon Kim Date: Wed, 14 Feb 2024 17:47:17 +0900 Subject: [PATCH] ci-cd : resolve permission --- .github/workflows/authservice-ci-cd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/authservice-ci-cd.yml b/.github/workflows/authservice-ci-cd.yml index d4db3c79..f9bedca7 100644 --- a/.github/workflows/authservice-ci-cd.yml +++ b/.github/workflows/authservice-ci-cd.yml @@ -89,7 +89,6 @@ jobs: username: ${{ secrets.LIGHTSAIL_USERNAME }} key: ${{ secrets.LIGHTSAIL_KEY }} script: | - sudo su cd /home/ubuntu/palette/auth-service - fuser -k 10002/tcp - ./operate.sh + sudo fuser -k 10002/tcp + sudo ./operate.sh