From bb90342244cc06050d7ba6ad37f5cb7fb9a43296 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Sun, 6 Jun 2021 14:05:14 +0400
Subject: [PATCH] Updated deploy config.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 975f37b..cae86fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,9 @@ cleanup_tests:
 
 build:
   stage: build
-  when: manual
+  only:
+    - master
+    - tags
   tags:
     - bots-deployer
   script:
@@ -54,6 +56,7 @@ deploy:
   only:
     - master
     - tags
+  when: manual
   environment:
     name: production
     url: https://${BOT_HOST}/
-- 
GitLab