From 1a244e1be573f1d116e910c28570f3e4cd70583f Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Mon, 29 Nov 2021 12:13:13 +0300 Subject: [PATCH] replaced tabs w/ spaces --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6032be..2b41db3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,10 +24,10 @@ unit-test-job: # This job runs in the test stage. deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. - only: - - main #Do not run the deploy pipeline on merge requests + only: + - main #Do not run the deploy pipeline on merge requests before_script: - - if [ -z "$DEPLOY_PRIVATE_KEY" ]; then echo "Can't deploy without a private key."; exit 1; fi + - if [ -z "$DEPLOY_PRIVATE_KEY" ]; then echo "Can't deploy without a private key."; exit 1; fi - echo "Installing the dependencies..." - apk add rsync openssh-client - mkdir -m 700 -p ~/.ssh