Skip to content

Commit 9229318

Browse files
author
Layko Andrey
committed
CI/CD
1 parent 0230c78 commit 9229318

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ jobs:
197197
mkdir -p ~/.ssh
198198
chmod 700 ~/.ssh
199199
echo "${{ secrets.DEPLOY_KEY_PROD }}" | tr -d '\r' | ssh-add - > ~/.ssh/id_rsa
200+
chmod 400 ~/.ssh/id_rsa
200201
ssh-keyscan ${{ secrets.DEPLOY_HOST_PROD }} >> ~/.ssh/known_hosts
201202
chmod 644 ~/.ssh/known_hosts
202203

0 commit comments

Comments
 (0)