From 2c0dee2cbc9059e331691fe1389611233eacc468 Mon Sep 17 00:00:00 2001 From: HyungWookChoi Date: Sat, 9 Dec 2023 20:13:17 +0900 Subject: [PATCH] fix: deploy.yml --- .github/workflows/deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7af7610..9d1ed11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,9 +13,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .nvmrc - - run: npm ci - - run: npm test - - run: npm run build - name: executing remote ssh commands using password uses: appleboy/ssh-action@v1.0.0 with: @@ -28,6 +25,7 @@ jobs: script: | whoami cd /root/312TEN034-backend + npx pm2 kill git pull origin main - npm install --force - pm2 restart 0 + npm install + npm run start