From 94178903ae27f05e97d8a8b123e515b2e4245cdd Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Sat, 16 Dec 2023 16:21:20 +0530 Subject: [PATCH] Update deploy-api.yml --- .github/workflows/deploy-api.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 95f4a74..d9ff200 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -13,5 +13,5 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} script: | - cd /home/production/deployed/hasher && git pull - supervisorctl restart integrity-api + cd ${{ secrets.APP_FOLDER }} && git pull + supervisorctl restart ${{ secrets.SUPERVISOR_SERVICE_NAME }}