create necessary dirs before deploy
This commit is contained in:
parent
f56601ce5a
commit
2e8a078880
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
create-docker-contexts:
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
docker context create $(host) --description "$(host)" --docker "host=ssh://$(SSH_USER)@$(host)"; \
|
||||
)
|
||||
|
||||
pre-deploy-compose: pre-deploy-docker
|
||||
|
||||
post-deploy-compose: post-deploy-docker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue