We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f89f4 commit 3b01e7fCopy full SHA for 3b01e7f
1 file changed
.github/workflows/open-api-ci-cd.yml
@@ -186,7 +186,7 @@ jobs:
186
eval $(ssh-agent -s)
187
mkdir -p ~/.ssh
188
chmod 700 ~/.ssh
189
- echo "${{ secrets.DEPLOY_KEY_PROD }}" | tr -d '\r' | ssh-add - > ~/.ssh
+ echo "${{ secrets.DEPLOY_KEY_PROD }}" | tr -d '\r' | ssh-add - > ~/.ssh/id_rsa
190
ssh-keyscan ${{ secrets.PROD_SERVER }} >> ~/.ssh/known_hosts
191
chmod 644 ~/.ssh/known_hosts
192
ssh ${{ secrets.DEPLOY_USER_PROD }}@${{ secrets.DEPLOY_HOST_PROD }} "docker -help"
0 commit comments