Sfoglia il codice sorgente

Only build merged documentation

Martijn Braam 1 anno fa
parent
commit
f74ab24959
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      .gitlab-ci.yml

+ 3 - 1
.gitlab-ci.yml

@@ -29,4 +29,6 @@ pages:
   artifacts:
     paths:
       - public
-  environment: production
+  environment: production
+  rules:
+    - if: $CI_COMMIT_BRANCH == "master"