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