We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e433883 commit c6ce85dCopy full SHA for c6ce85d
.github/workflows/DeployApp.yml
@@ -19,13 +19,12 @@ jobs:
19
with:
20
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
21
22
- - name: Teste conexão SSH
23
- run: ssh -o StrictHostKeyChecking=no [email protected] "echo 'Conexão SSH bem-sucedida'"
24
-
25
- name: Deploy to EC2
26
run: |
27
ssh [email protected] << 'EOF'
28
cd /home/ubuntu/chaxis-api
+ export NVM_DIR="$HOME/.nvm"
+ [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
29
git pull origin master
30
npm install
31
npx prisma migrate deploy
0 commit comments