Read about our upcoming Code of Conduct on this issue

Commit 5417f35d authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Automatic build for direct pushes on named branches (post-landing)

The post-landing build provided by Merge Requests upon final
publication seems to count as a push.

Nevermind, it's ok if actual direct pushes on the named branches
trigger the build: once the setup is complete, they should be
really exceptional. We can also probably filter further with `on_changes`
rules if needed, to avoid a simple README change to trigger the long
builds.
parent 6faab91a68af
Pipeline #11681 passed with stages
in 12 minutes and 14 seconds
......@@ -5,6 +5,8 @@ stages:
docker:
stage: build
rules:
- if: '$CI_COMMIT_BRANCH =~ /^branch\/.*/' # named branch (not a topic)
when: always
- if: '$CI_PIPELINE_SOURCE == "push"'
when: manual
allow_failure: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment