Skip to content

Commit c6ce85d

Browse files
author
Eduardo
committed
chore: update deploy file
1 parent e433883 commit c6ce85d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/DeployApp.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ jobs:
1919
with:
2020
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
2121

22-
- name: Teste conexão SSH
23-
run: ssh -o StrictHostKeyChecking=no [email protected] "echo 'Conexão SSH bem-sucedida'"
24-
2522
- name: Deploy to EC2
2623
run: |
2724
ssh [email protected] << 'EOF'
2825
cd /home/ubuntu/chaxis-api
26+
export NVM_DIR="$HOME/.nvm"
27+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
2928
git pull origin master
3029
npm install
3130
npx prisma migrate deploy

0 commit comments

Comments
 (0)