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 f3c3ce0 commit 15a9cb1
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,4 @@ 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
which pm2
node -v
npm -v
cd /home/ubuntu/octasol
git pull origin main
npm install
npm run build
pm2 reload octasol-app
EOF
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_CONNECTION_URL }} '/home/ubuntu/deploy.sh'

0 comments on commit 15a9cb1

Please sign in to comment.