.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-04-29 10:30:10 +01:00
parent d8ce386f02
commit 37f0e393b2
1 changed files with 4 additions and 3 deletions

View File

@ -25,11 +25,12 @@ def deploy(
] +
map(export, secrets) +
[
"echo $$SIGYL_STACK_ROOT",
"docker network prune -f",
"cd {folder}".format(folder=folder),
"docker stack rm {name}".format(name = name),
"cd $$SIGYL_STACK_ROOT",
"docker stack rm $$SIGYL_STACK_NAME",
"sleep 30",
"docker stack deploy -c {filename} {name}".format(name= name, filename = filename),
"docker stack deploy -c {filename} $$SIGYL_STACK_NAME".format(filename = filename),
] + commands
}
}