mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 00:16:49 +00:00
Refactor makefile to separate loadenvs command in deploy-test target
This commit is contained in:
@@ -25,9 +25,13 @@ deploy-apps: pull
|
|||||||
docker stack deploy --compose-file ./swarm/apps.yml apps
|
docker stack deploy --compose-file ./swarm/apps.yml apps
|
||||||
|
|
||||||
deploy-ghost: pull
|
deploy-ghost: pull
|
||||||
@echo "Deploying the ghost stack..."
|
{ \
|
||||||
$(loadenvs ./swarm/.env)
|
@echo "Deploying the ghost stack..." ;\
|
||||||
docker stack deploy --compose-file ./swarm/ghost.yml ghost
|
set -a ;\
|
||||||
|
source ./swarm/.env ;\
|
||||||
|
set +a ;\
|
||||||
|
docker stack deploy --compose-file ./swarm/ghost.yml ghost ;\
|
||||||
|
}
|
||||||
|
|
||||||
deploy-test: pull
|
deploy-test: pull
|
||||||
@echo "Deploying the test stack..."
|
@echo "Deploying the test stack..."
|
||||||
|
|||||||
Reference in New Issue
Block a user