Przeglądaj źródła

Only build merged documentation

Martijn Braam 1 rok temu
rodzic
commit
f74ab24959
1 zmienionych plików z 3 dodań i 1 usunięć
  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"