From 3f4ab3b9c8fe96685370550fc1287e06197a8718 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 6 Mar 2019 12:41:21 +0100 Subject: [PATCH] target in .drone.ci --- .drone.yml | 1 + test.rest | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 114c9fb..7d7e6bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -91,6 +91,7 @@ steps: when: branch: [ master ] event: [ promote, push ] + target: [ website ] - name: prepare release image: apairon/mark2web:latest diff --git a/test.rest b/test.rest index a49a3f8..25443dd 100644 --- a/test.rest +++ b/test.rest @@ -16,10 +16,12 @@ GET https://mark2web.basiscms.de/api/imagestyles/style ### -GET https://ci.basehosts.de/api/repos/apairon/mark2web/builds -Authorization: Bearer UIB2atxAslmlQoDLeM6263tQVOsXwvv6 +GET https://ci.basehosts.de/api/repos/apairon/mark2web/builds?page=1 +Authorization: Bearer { ci_token } ### POST https://ci.basehosts.de/api/repos/apairon/mark2web/builds/63/promote?target=website -Authorization: Bearer UIB2atxAslmlQoDLeM6263tQVOsXwvv6 +Authorization: Bearer { ci_token } + +###