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

This commit is contained in:
Giles Bradshaw 2020-04-27 11:51:24 +01:00
parent 363d61a087
commit 3b6db5d6eb
1 changed files with 20 additions and 20 deletions

View File

@ -49,6 +49,26 @@ steps:
- echo LOCAL_DOCKER_REGISTRY=$LOCAL_DOCKER_REGISTRY >> env - echo LOCAL_DOCKER_REGISTRY=$LOCAL_DOCKER_REGISTRY >> env
- echo CERTBOT_EMAIL=$CERTBOT_EMAIL >> env - echo CERTBOT_EMAIL=$CERTBOT_EMAIL >> env
- echo GIT_DOMAIN=$GIT_DOMAIN >> 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 - name: wait
when: when:
branch: branch:
@ -120,26 +140,6 @@ steps:
- docker build . -t $${LOCAL_DOCKER_REGISTRY}drone-starlark - docker build . -t $${LOCAL_DOCKER_REGISTRY}drone-starlark
- docker push $${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 - name: scp files
when: when:
branch: branch: