From cad9828acf1267b891c232ad8e45c2013fefd408 Mon Sep 17 00:00:00 2001
From: aradjafari <arad.jafari@gmail.com>
Date: Sat, 23 Oct 2021 18:40:59 +0200
Subject: [PATCH] only master added to yml

---
 .gitlab-ci.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5636e0c..5122904 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,8 +24,9 @@ cache:
 
 
 build-client-pages:
+  only: 
+    - master
   stage: build
-  only: master
   script: 
     # - echo "Creating credential file"
     # - echo $DB_HOST > .env
@@ -48,8 +49,9 @@ build-client-pages:
 
 
 pages:
+  only: 
+    - master
   stage: deploy
-  only: master
   script:
     - cd public
     - ls 
@@ -60,8 +62,9 @@ pages:
 
 
 run_server:
+  only: 
+    - master
   stage: run
-  only: master
   dependencies:
     - build-client-pages
   script:
-- 
GitLab