From 61f0943f31cc2e5f7682440886d3cdf9eba8a72e Mon Sep 17 00:00:00 2001 From: Henning Brinkmann Date: Mon, 7 Jun 2021 01:07:30 +0200 Subject: [PATCH] build and deploy in one step --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f89bf2c..85ea919 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,14 +7,13 @@ workspace: path: /workspace steps: - - name: build - image: registry.wtf-eg.net/lektor - - name: deploy + - name: build-deploy image: registry.wtf-eg.net/lektor environment: LEKTOR_DEPLOY_KEY: from_secret: lektor_deploy_key commands: + - lektor build - lektor deploy --key $LEKTOR_DEPLOY_KEY when: branch: