build and deploy website in drone are now 2 steps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank 2019-03-21 16:36:09 +01:00
parent f8f40b2134
commit 1312dcecb5
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3

View File

@ -92,6 +92,17 @@ steps:
branch: [ master ]
event: [ push ]
- name: build website
image: apairon/mark2web:latest
pull: never
commands:
- /mark2web -version
- /mark2web -in website -out html -create -logLevel info
when:
branch: [ master ]
event: [ promote, push ]
target: [ "", website ]
- name: deploy website
image: apairon/mark2web:latest
pull: never
@ -99,8 +110,6 @@ steps:
RSYNC_PASS:
from_secret: rsync_pass
commands:
- /mark2web -version
- /mark2web -in website -out html -create -logLevel info
- '
rsync -rlcgD -i -u -v --stats
--delete