target in .drone.ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Sebastian Frank 2019-03-06 12:41:21 +01:00
parent 6c59e6684f
commit 3f4ab3b9c8
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
2 changed files with 6 additions and 3 deletions

View File

@ -91,6 +91,7 @@ steps:
when:
branch: [ master ]
event: [ promote, push ]
target: [ website ]
- name: prepare release
image: apairon/mark2web:latest

View File

@ -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 }
###