From a4119c3aa414393829b8d36373fce401bf22a68f Mon Sep 17 00:00:00 2001 From: rosendo <42633099+rosendolu@users.noreply.github.com> Date: Sun, 14 Apr 2024 13:51:46 +0800 Subject: [PATCH] chore: --- .github/workflows/publish.yml | 4 ++-- script/deploy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 66567d0..6f20ce4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,5 +49,5 @@ jobs: EXCLUDE: '/temp/,/.git/,/logs/,/.github/' # SCRIPT_BEFORE: | SCRIPT_AFTER: | - cd ${{ secrets.REMOTE_TARGET }} - bash ./script/deploy.sh + cd ${{ secrets.REMOTE_TARGET }} >/dev/null 2>&1 + bash ./script/deploy.sh >/dev/null 2>&1 diff --git a/script/deploy.sh b/script/deploy.sh index ccd5582..70c952d 100644 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -13,7 +13,7 @@ else echo "nvm is not installed or not available in the current shell environment." fi -npm ci >/dev/null 2>&1 +npm ci # Define the name of the PM2 process PM2_PROCESS_NAME="rosendofun.service"