Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
Merge pull request #5 from roman-kutimskii/ci-cd-setup
Browse files Browse the repository at this point in the history
Удалить использование приватного ключа из команды SSH в процессе деплоя.
  • Loading branch information
roman-kutimskii authored Jan 10, 2025
2 parents cd472a2 + f438f57 commit 2710c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
ssh -i private_key -p 223 $SSH_USER@$SSH_HOST "
ssh -p 223 $SSH_USER@$SSH_HOST "
cd ~/tea-market &&
git pull origin master &&
docker compose down &&
Expand Down

0 comments on commit 2710c2a

Please sign in to comment.