[odrs-web/barthalion/add-tests-to-ci] fixup! fixup! Add unit tests to CI



commit 496711243b005c54b7b3b87b9e6f81bad10d54ee
Author: Bartłomiej Piotrowski <b bpiotrowski pl>
Date:   Wed Aug 31 22:29:18 2022 +0200

    fixup! fixup! Add unit tests to CI

 .gitlab-ci.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1fdba20..1b9ca0e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ deploy-dev:
     OCI_TAG: "dev"
   rules:
   - if: $CI_COMMIT_REF_NAME == "master"
-    when: manual
+    when: always
 
 deploy-prod:
   stage: deploy
@@ -35,7 +35,9 @@ deploy-prod:
   variables:
     CI_CUSTOM_IMAGE_NAME: "odrs"
     OCI_TAG: "latest"
-  when: manual
+  rules:
+  - if: $CI_COMMIT_REF_NAME == "master"
+    when: manual
 
 deploy-prod-nginx:
   stage: deploy
@@ -45,4 +47,6 @@ deploy-prod-nginx:
     CI_CUSTOM_IMAGE_NAME: "odrs"
     OCI_TAG: "nginx"
     DOCKERFILE: "Dockerfile.nginx"
-  when: manual
+  rules:
+  - if: $CI_COMMIT_REF_NAME == "master"
+    when: manual


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]