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 885d828 commit e8481f7Copy full SHA for e8481f7
.github/workflows/DeployApp.yml
@@ -19,11 +19,8 @@ jobs:
19
with:
20
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
21
22
- - name: Configurar chave SSH
23
- run: |
24
- mkdir -p ~/.ssh
25
- echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
26
- chmod 600 ~/.ssh/id_rsa
+ - name: Teste conexão SSH
+ run: ssh -o StrictHostKeyChecking=no [email protected] "echo 'Conexão SSH bem-sucedida'"
27
28
- name: Deploy to EC2
29
run: |
0 commit comments