From 0250574224b1c7117f6d4528a24a61367d90b397 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Wed, 16 Mar 2022 20:04:40 +0300 Subject: [PATCH] add bash to gitlab-ci script --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c992cb..16279bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ deploy-job: # This job runs in the deploy stage. before_script: - 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 curl jq + - apk add bash rsync openssh-client curl jq - mkdir -m 700 -p ~/.ssh - echo "$DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa