.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d76084a6df
commit
a2a1b79bd2
|
@ -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": [
|
||||
|
|
Reference in New Issue