Bläddra i källkod

Allow manual job start

Arkadiusz Ryś 2 år sedan
förälder
incheckning
c121a6b9b2
1 ändrade filer med 5 tillägg och 2 borttagningar
  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: