Skip to content

Commit 526ef22

Browse files
committed
ci: Add manual deployment option
1 parent e37b322 commit 526ef22

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,14 @@ publish:
194194
script:
195195
- ./gradlew publish
196196

197+
publish_manual:
198+
stage: publish
199+
extends: .publish
200+
when: manual
201+
dependencies:
202+
- build_scheduled
203+
- build_manual
204+
rules:
205+
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
206+
script:
207+
- ./gradlew publish

0 commit comments

Comments
 (0)