build and deploy in one step
continuous-integration/drone/push Build is passing Details

This commit is contained in:
hbr 2021-06-07 01:07:30 +02:00
parent 7311189b83
commit 61f0943f31
1 changed files with 2 additions and 3 deletions

View File

@ -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: