From 556ad33b1ad653771d4e14fa2175cc3324dbf7b6 Mon Sep 17 00:00:00 2001 From: William Frank Monroy Mamani Date: Mon, 27 Nov 2023 04:44:51 -0600 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20updated=20cicd.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 3529922..ac23a2a 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -135,7 +135,7 @@ jobs: - name: Deploy to Lightsail run: | sudo apt-get install -y sshpass - sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" rsync -avz --exclude node_modules apps/web ubuntu@52.54.237.87:/home/ubuntu/apps + sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" rsync -avz apps/web ubuntu@52.54.237.87:/home/ubuntu/apps - name: Set custom package.json run: | @@ -212,7 +212,7 @@ jobs: - name: Start server run: | - sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no ubuntu@52.54.237.87 "cd apps/docs && pm2 start pnpm --name "docs" -- start" + sshpass -p "${{ secrets.LIGHTSAIL_SSH_PASS }}" ssh -o StrictHostKeyChecking=no ubuntu@52.54.237.87 "cd apps/docs && pm2 start pnpm --name "docs" -- start -- -p 3001" - name: Create output artifact uses: actions/upload-artifact@v2