Install git in deploy stage

This commit is contained in:
Sonny 2020-03-22 18:41:00 +01:00
parent e4e4e97cfd
commit 9ecca7a80b

View file

@ -93,7 +93,7 @@ deploy:
name: production
url: rss.fudiggity.nl
before_script:
- apt-get update && apt-get install -y ansible
- apt-get update && apt-get install -y ansible git
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.fudiggity.nl/sonny/ansible-playbooks.git deployment
- echo $DEPLOY_HOST > deployment/hosts.yml
- echo $DEPLOY_KEY > deployment/deploy_key