Browse Source

Disable openapi generation for master too

Chocobozzz 2 years ago
parent
commit
4d3e611dd2
1 changed files with 14 additions and 13 deletions
  1. 14 13
      .gitlab-ci.yml

+ 14 - 13
.gitlab-ci.yml

@@ -10,19 +10,20 @@ cache:
     - .yarn-cache
     - cached-fixtures
 
-build-openapi-clients:
-  stage: clients
-  only:
-    refs:
-      - master
-    changes:
-      - support/doc/api/openapi.yaml
-  script:
-    - apt-get update -qq
-    - apt-get -yqqq install openjdk-8-jre
-    - yarn install --pure-lockfile
-    - scripts/openapi-peertube-version.sh
-    - scripts/openapi-clients.sh
+# build-openapi-clients:
+#   stage: clients
+#   only:
+#     refs:
+#       - master
+#       - schedules
+#     changes:
+#       - support/doc/api/openapi.yaml
+#   script:
+#     - apt-get update -qq
+#     - apt-get -yqqq install openjdk-8-jre
+#     - yarn install --pure-lockfile
+#     - scripts/openapi-peertube-version.sh
+#     - scripts/openapi-clients.sh
 
 build-nightly:
   stage: docker-nightly