Commit 157ce359 authored by Luc Didry's avatar Luc Didry
Browse files

Remove git installation from .gitlab-ci.yml

parent d4b42553
...@@ -2,7 +2,7 @@ deploy: ...@@ -2,7 +2,7 @@ deploy:
stage: deploy stage: deploy
before_script: before_script:
- apt-get update -yqq - apt-get update -yqq
- apt-get install ssh git -yqq - DEBIAN_FRONTEND=noninteractive apt-get install ssh -yqq
script: script:
- mkdir "${HOME}/.ssh" - mkdir "${HOME}/.ssh"
- chmod 700 "${HOME}/.ssh" - chmod 700 "${HOME}/.ssh"
...@@ -11,4 +11,4 @@ deploy: ...@@ -11,4 +11,4 @@ deploy:
- if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh-add <(echo "$DEPLOYEMENT_KEY" | base64 --decode); fi - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh-add <(echo "$DEPLOYEMENT_KEY" | base64 --decode); fi
- if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST} 'cd ../../web/ && git pull'; fi - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST} 'cd ../../web/ && git pull'; fi
only: only:
- master - master
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment