refactor: move more into the ci:deploy
task
This commit is contained in:
parent
24caeae329
commit
423e21f6c3
2 changed files with 5 additions and 8 deletions
4
run
4
run
|
@ -17,8 +17,12 @@ function task:ci:build {
|
|||
}
|
||||
|
||||
function task:ci:deploy {
|
||||
ansible-galaxy install -r tools/deployment/requirements.yml
|
||||
|
||||
ansible-playbook tools/deployment/deploy.yml \
|
||||
-e "ansistrano_deploy_branch=${1:-production}" \
|
||||
-i tools/deployment/hosts.yml \
|
||||
--vault-password-file="${2:-tools/deployment/.vault-pass.txt}" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue