Difference between revisions of "GitLab scheduled pipelines"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://docs.gitlab.com/ee/ci/pipelines/schedules.html
 
* https://docs.gitlab.com/ee/ci/pipelines/schedules.html
 +
 +
<pre>
 +
job:on-schedule:
 +
  rules:
 +
    - if: $CI_PIPELINE_SOURCE == "schedule"
 +
  script:
 +
    - make world
 +
 +
job:
 +
  rules:
 +
    - if: $CI_PIPELINE_SOURCE == "push"
 +
  script:
 +
    - make build
 +
</pre>
  
 
== Related ==
 
== Related ==

Revision as of 05:22, 17 August 2022

Advertising: