Difference between revisions of "GitLab CI only:"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
− | Official example | + | == Official example == |
job1: | job1: | ||
[[script:]] echo | [[script:]] echo | ||
Line 16: | Line 16: | ||
- /^stable-branch.*$/ | - /^stable-branch.*$/ | ||
- schedules | - schedules | ||
+ | |||
+ | Both are equivalent (official example): | ||
+ | job1: | ||
+ | script: echo | ||
+ | only: | ||
+ | - branches | ||
+ | |||
+ | job2: | ||
+ | script: echo | ||
+ | only: | ||
+ | [[refs:]] | ||
+ | - branches | ||
+ | |||
+ | |||
Latest revision as of 08:47, 28 September 2022
Advertising: