mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
add bash to gitlab-ci script
This commit is contained in:
parent
2853c31534
commit
0250574224
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ deploy-job: # This job runs in the deploy stage.
|
||||||
before_script:
|
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..."
|
- echo "Installing the dependencies..."
|
||||||
- apk add rsync openssh-client curl jq
|
- apk add bash rsync openssh-client curl jq
|
||||||
- mkdir -m 700 -p ~/.ssh
|
- mkdir -m 700 -p ~/.ssh
|
||||||
- echo "$DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa
|
- echo "$DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
|
|
Loading…
Add table
Reference in a new issue