We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3efffbb + 91c2acd commit 36ba704Copy full SHA for 36ba704
1 file changed
.github/workflows/deploy.yml
@@ -18,11 +18,11 @@ jobs:
18
mkdir -p ~/.ssh
19
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
20
chmod 600 ~/.ssh/id_ed25519
21
- ssh-keyscan -H root@191.252.177.252 >> ~/.ssh/known_hosts
+ ssh-keyscan -H 191.252.177.252 >> ~/.ssh/known_hosts
22
23
- name: Deploy para VPS
24
run: |
25
- ssh root@191.252.177.252 << 'EOF'
+ ssh -i ~/.ssh/id_ed25519 root@191.252.177.252 << 'EOF'
26
cd /www/sites/e-commerce/
27
git pull origin main
28
docker-compose down
0 commit comments