From 1312dcecb5a5a6602e30dbdb6833a7991465f640 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 21 Mar 2019 16:36:09 +0100 Subject: [PATCH] build and deploy website in drone are now 2 steps --- build/ci/.drone.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 1eb773d..da8416c 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -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