diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00ffac0..104ea9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,9 +40,10 @@ deploy-job: # This job runs in the deploy stage. before_script: - echo "Installing the dependencies..." - apk add rsync openssh-client - - eval $(ssh-agent -s) - - echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh + - eval $(ssh-agent -s) + - echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - ssh-add -l script: - - rsync -ciIlprz out/* deploy@devurandom.xyz:~/out/ + - rsync -ciIlprz out/ deploy@devurandom.xyz:~/out/