From 362b1db37b26ac5cf57cb95b7b2ce53ccb51f2a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20Mr=C3=A1zek?= Date: Thu, 17 Jul 2025 13:40:18 +0200 Subject: [PATCH] .gitlab-ci.yml: docs:pages: run job automatically and only for master This will help to keep the /latest docs up to date. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 503ad4e17..3fa82026a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -807,13 +807,15 @@ docs:environment: # Deploys the current documentation to the GitLab pages. # https://knot.pages.nic.cz/knot-resolver +# https://www.knot-resolver.cz/documentation/latest docs:pages: stage: deploy needs: - docs:build + only: + - master@knot/knot-resolver script: mv doc/html public pages: true - when: manual artifacts: paths: - public -- 2.47.2