Skip to content

Commit 4479d96

Browse files
author
Layko Andrey
committed
CI/CD
1 parent 5612c3a commit 4479d96

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
eval $(ssh-agent -s)
5454
echo "${{ secrets.DEPLOY_KEY_PROD }}" > deploy_key
5555
chmod 600 ./deploy_key
56+
mkdir -p ~/.ssh
57+
chmod 700 ~/.ssh
5658
ssh-keyscan ${{ secrets.DEPLOY_HOST_PROD }} >> ~/.ssh/known_hosts
5759
chmod 644 ~/.ssh/known_hosts
5860
ssh -i ./deploy_key ${{ secrets.DEPLOY_USER_PROD }}@${{ secrets.DEPLOY_HOST_PROD }} "

0 commit comments

Comments
 (0)