Skip to content

Commit 36ba704

Browse files
Merge pull request #31 from RodrigoDevBack/rodrigo-refact-backend-front
refact: corrigindo o workflow de deploy
2 parents 3efffbb + 91c2acd commit 36ba704

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
mkdir -p ~/.ssh
1919
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
2020
chmod 600 ~/.ssh/id_ed25519
21-
ssh-keyscan -H root@191.252.177.252 >> ~/.ssh/known_hosts
21+
ssh-keyscan -H 191.252.177.252 >> ~/.ssh/known_hosts
2222
2323
- name: Deploy para VPS
2424
run: |
25-
ssh root@191.252.177.252 << 'EOF'
25+
ssh -i ~/.ssh/id_ed25519 root@191.252.177.252 << 'EOF'
2626
cd /www/sites/e-commerce/
2727
git pull origin main
2828
docker-compose down

0 commit comments

Comments
 (0)