.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
363d61a087
commit
3b6db5d6eb
|
@ -49,6 +49,26 @@ steps:
|
|||
- echo LOCAL_DOCKER_REGISTRY=$LOCAL_DOCKER_REGISTRY >> env
|
||||
- echo CERTBOT_EMAIL=$CERTBOT_EMAIL >> env
|
||||
- echo GIT_DOMAIN=$GIT_DOMAIN >> env
|
||||
- name: clear
|
||||
when:
|
||||
branch:
|
||||
- do
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh-host
|
||||
username:
|
||||
from_secret: ssh-user
|
||||
password:
|
||||
from_secret: ssh-password
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
#passphrase:
|
||||
# from_secret: ssh-passphrase
|
||||
#port:
|
||||
# from_secret: ssh-port
|
||||
script:
|
||||
- rm -r -f ~/stack-deploy
|
||||
- name: wait
|
||||
when:
|
||||
branch:
|
||||
|
@ -120,26 +140,6 @@ steps:
|
|||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}drone-starlark
|
||||
- docker push $${LOCAL_DOCKER_REGISTRY}drone-starlark
|
||||
|
||||
- name: clear
|
||||
when:
|
||||
branch:
|
||||
- do
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh-host
|
||||
username:
|
||||
from_secret: ssh-user
|
||||
password:
|
||||
from_secret: ssh-password
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
#passphrase:
|
||||
# from_secret: ssh-passphrase
|
||||
#port:
|
||||
# from_secret: ssh-port
|
||||
script:
|
||||
- rm -r -f ~/stack-deploy
|
||||
- name: scp files
|
||||
when:
|
||||
branch:
|
||||
|
|
Reference in New Issue