target in .drone.ci
This commit is contained in:
parent
6c59e6684f
commit
3f4ab3b9c8
@ -91,6 +91,7 @@ steps:
|
||||
when:
|
||||
branch: [ master ]
|
||||
event: [ promote, push ]
|
||||
target: [ website ]
|
||||
|
||||
- name: prepare release
|
||||
image: apairon/mark2web:latest
|
||||
|
@ -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 }
|
||||
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user