build(run): add ci:deploy
task
This commit is contained in:
parent
ca09801323
commit
c60e2152e2
1 changed files with 6 additions and 0 deletions
6
run
6
run
|
@ -16,6 +16,12 @@ function task:ci:build {
|
|||
docker-compose push php
|
||||
}
|
||||
|
||||
function task:ci:deploy {
|
||||
ansible-playbook tools/deployment/deploy.yml \
|
||||
-i tools/deployment/hosts.yml \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
function task:ci:test {
|
||||
task:lint:dockerfile
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue