Add a deploy command [skip ci]
This commit is contained in:
parent
9a2ecf796a
commit
50571a1210
|
@ -8,6 +8,13 @@ attribute('docker'):
|
|||
username: "= env('DOCKER_REGISTRY_USERNAME') ?: ''"
|
||||
repository: ghcr.io/opdavies/oliverdavies-uk-web
|
||||
|
||||
command('deploy'):
|
||||
env:
|
||||
COMPOSE_PROJECT_NAME: = @('namespace')
|
||||
exec: |
|
||||
#!bash(workspace:/tools/deployment)
|
||||
passthru ansible-playbook deploy.yml
|
||||
|
||||
command('disable'):
|
||||
env:
|
||||
COMPOSE_PROJECT_NAME: = @('namespace')
|
||||
|
|
Loading…
Reference in a new issue