Skip to content

Commit

Permalink
test deploy to production12
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegGsk committed Sep 25, 2024
1 parent 7b04894 commit d7c9c22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/production_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ jobs:
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -H ${{ secrets.HOST }} > ~/.ssh/known_hosts
# Добавляем строку с указанием хоста для сканирования
ssh-keyscan ${{ secrets.HOST }} >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
echo "${{ secrets.TEST_RSA_SECRET_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
Expand Down

0 comments on commit d7c9c22

Please sign in to comment.