From dee663579454e4ba2a515693311e8105848f21c7 Mon Sep 17 00:00:00 2001 From: rishabh Date: Mon, 14 Jul 2025 14:14:40 +0530 Subject: [PATCH 1/3] updated main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 371a7b6..0e81175 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,7 @@ jobs: key: ${{ secrets.EC2_KEY }} script: | echo "🔄 Deploying clientside to EC2..." + cd /home/onehash sudo -u onehash bash -c ' @@ -41,9 +42,9 @@ jobs: echo "⚙️ Building clientside app..." bench build --app clientside - echo "🚀 Restarting supervisor services..." - echo "${{secrets.EC2_PW}}" | sudo -S supervisorctl restart all ' + echo "🚀 Restarting supervisor services..." + echo "${{secrets.EC2_PW}}" | sudo -S supervisorctl restart all From fe7da9cbdfaa534f5c8a509552103fb5fe5f92bb Mon Sep 17 00:00:00 2001 From: rishabh Date: Mon, 14 Jul 2025 14:14:52 +0530 Subject: [PATCH 2/3] updated main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e81175..e6a1836 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,6 @@ jobs: echo "⚙️ Building clientside app..." bench build --app clientside - ' echo "🚀 Restarting supervisor services..." echo "${{secrets.EC2_PW}}" | sudo -S supervisorctl restart all From 7c8b272a724f2fcd7df569cc0ee542d9c13dbbb5 Mon Sep 17 00:00:00 2001 From: rishabh Date: Mon, 14 Jul 2025 14:16:22 +0530 Subject: [PATCH 3/3] updated main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6a1836..1e9355d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: bench build --app clientside ' echo "🚀 Restarting supervisor services..." - echo "${{secrets.EC2_PW}}" | sudo -S supervisorctl restart all + sudo supervisorctl restart all