Loading .gitlab-ci.yml +0 −14 Original line number Diff line number Diff line --- stages: - test - deploy yaml: stage: test script: Loading @@ -9,16 +8,3 @@ yaml: - yamllint -v - yamllint -s . image: python:latest deploy: stage: deploy script: - apt-get update -qq - 'which ssh-agent || (apt-get install -y -qq openssh-client)' - eval $(ssh-agent -s) - ssh-add <(echo "$SSH_PRIVATE_KEY") - mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - bash deploy.sh image: ubuntu:16.04 only: - master Loading
.gitlab-ci.yml +0 −14 Original line number Diff line number Diff line --- stages: - test - deploy yaml: stage: test script: Loading @@ -9,16 +8,3 @@ yaml: - yamllint -v - yamllint -s . image: python:latest deploy: stage: deploy script: - apt-get update -qq - 'which ssh-agent || (apt-get install -y -qq openssh-client)' - eval $(ssh-agent -s) - ssh-add <(echo "$SSH_PRIVATE_KEY") - mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - bash deploy.sh image: ubuntu:16.04 only: - master