ci: Use "when: always" for pages job

"when: on_success" meant that that the job wouldn't run automatically
until all jobs of all earlier stages passed, and would be skipped if
any of them failed. But we need to always run this job if any
documentation files were modified.

Fixes: 8e2cb8ef27 "gitlab-ci: Extend .ci-run-policy template for docs
                     jobs"

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5711>
This commit is contained in:
Michel Dänzer 2020-07-01 17:41:06 +02:00 committed by Michel Dänzer
parent ab9ecb607b
commit fc41ec16c8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ pages:
changes: &docs-or-ci
- docs/**/*
- .gitlab-ci.yml
when: on_success
when: always
# Other cases default to never
test-docs: