[extensions-web/wip/ocp4] ci: pin deploy job to `deploy` branch and drop manual restriction



commit b4dc1cc5e25bf2707d8ab67f55108e20062c0ca9
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun May 29 15:19:58 2022 +0400

    ci: pin deploy job to `deploy` branch and drop manual restriction

 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6891312..c88985d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -92,8 +92,7 @@ deploy:
     - .build image
   stage: deploy
   rules:
-    - if: ($CI_COMMIT_REF_PROTECTED == "true")
-      when: manual
+    - if: $CI_COMMIT_BRANCH == "deploy"
   script:
     - !reference [.build image, script]
     - buildah login -u ${OCI_REGISTRY_USER} -p ${OCI_REGISTRY_PASSWORD} quay.io


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