From bb79bccc9d4b8920e7ac82fa182dabf06b10a6ce Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 16 Jan 2023 16:49:24 -0800 Subject: [PATCH] Testing build env for generated artifact s --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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