apt-get -> apt
This commit is contained in:
parent
f2b4bd3bfd
commit
4561a5b480
|
@ -112,8 +112,8 @@ variables:
|
||||||
|
|
||||||
# Add SSH private key to deploy to prod/staging server
|
# Add SSH private key to deploy to prod/staging server
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get install -y rsync
|
- apt update -y && apt install -y rsync
|
||||||
- 'which ssh-agent || ( apt-get install openssh-client -y )'
|
- 'which ssh-agent || ( apt install openssh-client -y )'
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
|
Loading…
Reference in a new issue