ci: Add trailing slash to path for documentation preview
authorMichel Dänzer <mdaenzer@redhat.com>
Wed, 10 Feb 2021 11:20:25 +0000 (12:20 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Feb 2021 12:04:22 +0000 (12:04 +0000)
Fixes the documentation preview link on the MR Overview tab. Found by
comparing with the same thing in weston.

(It still appears only after all jobs in the pipeline have at least
started once though)

Fixes: ae8f9584f4c9 "CI: always expose docs artifacts"
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8927>

.gitlab-ci.yml

index ad9016c..57bdce6 100644 (file)
@@ -118,7 +118,7 @@ test-docs-mr:
   artifacts:
     expose_as: 'Documentation preview'
     paths:
-    - public
+    - public/
   rules:
     - if: *is-pre-merge
       changes: *docs-or-ci