From 8a2c8402cde0f75b659c377bec39b81cd9ac5f41 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Sun, 14 Nov 2021 15:42:49 +0300 Subject: [PATCH] fixed paths --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d69a60..676dff2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,8 +44,8 @@ deploy-job: # This job runs in the deploy stage. - chmod 700 ~/.ssh - eval $(ssh-agent -s) - echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add - - - echo "$DEPLOY_KNOWN_HOSTS" > .ssh/known_hosts - - chmod 0600 .ssh/known_hosts + - echo "$DEPLOY_KNOWN_HOSTS" > ~/.ssh/known_hosts + - chmod 0600 ~/.ssh/known_hosts - ssh-add -l script: - rsync -ciIlprz out/ deploy@devurandom.xyz:~/out/