From c60e2152e2ed175feb98a2af8b0742a3bfbacf38 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 8 Dec 2021 20:29:43 +0000 Subject: [PATCH] build(run): add `ci:deploy` task --- run | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/run b/run index cbcc43f..65d427d 100755 --- a/run +++ b/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 }