Use ansible repo's master branch for deployments
This commit is contained in:
Sonny Bakker 2020-09-27 16:45:28 +02:00
parent d4a41a62da
commit ca5c2f6b55

View file

@ -8,7 +8,7 @@ deploy:
- if: $CI_COMMIT_TAG
before_script:
- pip install ansible --quiet
- git clone https://git.fudiggity.nl/sonny/ansible-playbooks.git deployment
- git clone https://git.fudiggity.nl/sonny/ansible-playbooks.git deployment --branch master
- mkdir /root/.ssh && echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts
- echo "$DEPLOY_KEY" > deployment/deploy_key && chmod 0600 deployment/deploy_key
- echo "$VAULT_PASSWORD" > deployment/vault