Explorar el Código

Allow manual job start

Arkadiusz Ryś hace 2 años
padre
commit
c121a6b9b2
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      .gitlab-ci.yml

+ 5 - 2
.gitlab-ci.yml

@@ -60,8 +60,11 @@ build-windows-exe:
     - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --hidden-import arklog --onefile --windowed --noconfirm; wineserver -w"
     - mkdir -p dist/data/
     - cp -r data/* dist/data/
-  only:
-    - tags
+  rules:
+    - if: $CI_COMMIT_TAG
+    - if: $CI_PIPELINE_SOURCE == "push" || $CI_COMMIT_BRANCH == "dev"
+      when: manual
+      allow_failure: true
   artifacts:
     name: "graph_exploring_tool%$CI_COMMIT_TAG"
     paths: