From fc41ec16c8b3dbe5fa78ce3e94cb547564532a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 1 Jul 2020 17:41:06 +0200 Subject: [PATCH] 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: 8e2cb8ef276b "gitlab-ci: Extend .ci-run-policy template for docs jobs" Reviewed-by: Erik Faye-Lund Part-of: --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3af0fef3d0..1df576d6a81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: