mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-05 07:38:13 +02:00
ci: Run dist and docs job only on merge requests
This commit is contained in:
parent
3740860c71
commit
7f9e26fd46
1 changed files with 6 additions and 0 deletions
|
|
@ -127,6 +127,9 @@ dist_install:
|
|||
when: always
|
||||
paths:
|
||||
- _build/meson-logs/*.txt
|
||||
rules:
|
||||
- if: ($CI_PIPELINE_SOURCE == "merge_request_event" ||
|
||||
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH)
|
||||
|
||||
address_sanitizer:
|
||||
variables:
|
||||
|
|
@ -197,6 +200,9 @@ docs:
|
|||
- _build-docs/docs/html
|
||||
- _build-docs/docs/html/index.html
|
||||
expire_in: 1 week
|
||||
rules:
|
||||
- if: ($CI_PIPELINE_SOURCE == "merge_request_event" ||
|
||||
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH)
|
||||
|
||||
pages:
|
||||
image: alpine:latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue