diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2afcf5..968a7a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,9 +69,10 @@ deploy-shockrah.xyz: - echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh/ - chmod 700 ~/.ssh/ - - ssh-keyscan "$HOST" 2>&1 >> ~/.ssh/known_hosts + - ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: + - pwd && ls -Ra - ansible-playbook -i $INVENTORY scripts/deploy-blog.yml