Skip to content

Commit 7cfce3d

Browse files
author
Layko Andrey
committed
CI/CD
1 parent 3b01e7f commit 7cfce3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/open-api-ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187
mkdir -p ~/.ssh
188188
chmod 700 ~/.ssh
189189
echo "${{ secrets.DEPLOY_KEY_PROD }}" | tr -d '\r' | ssh-add - > ~/.ssh/id_rsa
190-
ssh-keyscan ${{ secrets.PROD_SERVER }} >> ~/.ssh/known_hosts
190+
ssh-keyscan ${{ secrets.DEPLOY_HOST_PROD }} >> ~/.ssh/known_hosts
191191
chmod 644 ~/.ssh/known_hosts
192192
ssh ${{ secrets.DEPLOY_USER_PROD }}@${{ secrets.DEPLOY_HOST_PROD }} "docker -help"
193193

0 commit comments

Comments
 (0)