cicd: overrided deployment for happydev

This commit is contained in:
plup 2021-02-25 14:03:04 +01:00
parent cfd4127d26
commit 240bafdd6c
1 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,11 @@ hublworld:
happydev:
extends: .ansible
script:
- cd /platform
- echo "$VAULT_KEY" > .vault-password.txt
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- ansible-playbook --key-file gitlab.key deploy.yml -t client -l "$CI_JOB_NAME" -e "client_code_version=$CI_COMMIT_SHA"
only:
- master
when: manual