From 4adec2a8e369c7e59372e48b46eb864c2dc30ed4 Mon Sep 17 00:00:00 2001 From: huziibee Date: Mon, 8 Jan 2024 15:37:38 +0200 Subject: [PATCH] Added workflow --- .github/workflows/lightsail-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lightsail-deploy.yml b/.github/workflows/lightsail-deploy.yml index b78b5e4..0f5b114 100644 --- a/.github/workflows/lightsail-deploy.yml +++ b/.github/workflows/lightsail-deploy.yml @@ -23,7 +23,7 @@ jobs: key: ${{ secrets.LIGHTSAIL_SSH_KEY }} port: 22 # Default SSH port; change it if yours is different script: | - cd /htdocs + cd /var/www/html/htdocs git pull origin main npm install --production pm2 restart server.js