]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.gitlab-ci.yml: docs:pages: run job automatically and only for master
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 17 Jul 2025 11:40:18 +0000 (13:40 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Thu, 17 Jul 2025 11:40:18 +0000 (13:40 +0200)
This will help to keep the /latest docs up to date.

.gitlab-ci.yml

index 503ad4e17b22d2d9f315166ef0954c9fb97f21e4..3fa82026a960e07a512b2c74294dcc75ce936e85 100644 (file)
@@ -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