Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
A91y authored Nov 16, 2024
1 parent 6720f5a commit f3c3ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f3c3ce0

Please sign in to comment.