From f3c3ce074338b5c3a1b36f4527fbde8b5847200f Mon Sep 17 00:00:00 2001 From: Ayush Agrawal Date: Sat, 16 Nov 2024 23:24:08 +0530 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 00610e6..3f4033f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,8 @@ jobs: - name: Deploy to EC2 run: | ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_CONNECTION_URL }} << 'EOF' + source /home/ubuntu/.bashrc + source /home/ubuntu/.profile echo "Current PATH: $PATH" which node which npm @@ -29,8 +31,6 @@ jobs: npm -v cd /home/ubuntu/octasol git pull origin main - source /home/ubuntu/.bashrc - source /home/ubuntu/.profile npm install npm run build pm2 reload octasol-app