Skip to content

Commit 5f03a5b

Browse files
committed
Stubbing out publish gitlab job
1 parent 535a401 commit 5f03a5b

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.gitlab-ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
stages:
22
- build
33
- deploy
4+
- publish
45

56
linux-builder:
67
stage: build
@@ -135,7 +136,7 @@ deployer:
135136
- deploy/*
136137
script:
137138
- mkdir -p deploy;
138-
- touch deploy/TEST;
139+
- touch deploy/TEST-DEPLOY;
139140
- ls
140141
- echo "Deploy me please"
141142
when: manual
@@ -145,3 +146,22 @@ deployer:
145146
- /^release.*$/
146147
tags:
147148
- linux-bionic
149+
150+
publisher:
151+
stage: publish
152+
artifacts:
153+
expire_in: 4 weeks
154+
paths:
155+
- publish/*
156+
script:
157+
- mkdir -p publish;
158+
- touch publish/TEST-PUBLISH;
159+
- ls
160+
- echo "Publish me please"
161+
when: manual
162+
except:
163+
- tags
164+
only:
165+
- /^release.*$/
166+
tags:
167+
- linux-bionic

0 commit comments

Comments
 (0)