From 2c52845486abe090dd5ea1922e92ad12bc331fd1 Mon Sep 17 00:00:00 2001 From: Mikail Asada <62200797+Asadaaaaa@users.noreply.github.com> Date: Sat, 7 Oct 2023 05:30:12 +0700 Subject: [PATCH] Update cd-main.yml --- .github/workflows/cd-main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-main.yml b/.github/workflows/cd-main.yml index f7f057d..0b8454e 100644 --- a/.github/workflows/cd-main.yml +++ b/.github/workflows/cd-main.yml @@ -16,9 +16,9 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} script: | - cd sersow/main/sersow-view - git fetch + cd app/sersow/web/production + git reset --hard HEAD git pull origin main npm i npm run build - pm2 restart main-sersow-view + pm2 restart sersow-web-production