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

This commit is contained in:
Giles Bradshaw 2020-04-25 22:53:07 +01:00
parent d76084a6df
commit a2a1b79bd2
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ def printSecrets(env):
"username": fromSecret("ssh-user"),
"password": fromSecret("ssh-password"),
"script": [
"rm -f env.stack",
"rm -f env-stack",
] + map(echo, env)
}
}
@ -155,9 +155,9 @@ def deploy():
"docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-drone",
"docker network prune -f",
"cd /home/$SSH_USER/gitea-drone-stack",
"docker stack rm gitea",
#"docker stack rm gitea",
"sleep 60",
"docker stack deploy -c docker-compose-home.yml gitea",
#"docker stack deploy -c docker-compose-home.yml gitea",
]
}
}
@ -183,7 +183,7 @@ def steps(name, dependsOn):
#buildNginx("git"),
#buildNginx("remote"),
#buildNginx("chat"),
scp("~/gitea-drone-stack"),
#scp("~/gitea-drone-stack"),
deploy(),
],
"services": [