build and deploy in one step again
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
hbr 2021-06-07 01:25:13 +02:00
parent 348ef297c7
commit 4eb294a8b1

View File

@ -7,15 +7,14 @@ workspace:
path: /workspace path: /workspace
steps: steps:
- name: build - name: build-deploy
image: registry.wtf-eg.net/lektor
- name: deploy
image: registry.wtf-eg.net/lektor image: registry.wtf-eg.net/lektor
environment: environment:
LEKTOR_DEPLOY_KEY: LEKTOR_DEPLOY_KEY:
from_secret: lektor_deploy_key from_secret: lektor_deploy_key
commands: commands:
- pwd - pwd
- lektor build
- ls - ls
- lektor deploy --key $LEKTOR_DEPLOY_KEY - lektor deploy --key $LEKTOR_DEPLOY_KEY
when: when: