From 5450b8983f9191e33e2986e5cbf74f970aabaab8 Mon Sep 17 00:00:00 2001
From: M9713 <m9713@student.jamk.fi>
Date: Fri, 22 Oct 2021 20:08:22 +0300
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7efed0b..56fed1a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,9 @@ stages:
 
 build:
   stage: build
- 
+  
+  when: manual 
+
   image:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
@@ -35,6 +37,6 @@ deploy:
     script: echo "Deploying"
     image: bitnami/kubectl:latest
     script:
-         - kubectl apply -f yaml/service.yaml
-         - kubectl apply -f yaml/deployment.yaml
+         - kubectl apply -f service.yaml
+         - kubectl apply -f deployment.yaml
          - kubectl -n default rollout restart deployment temp
-- 
GitLab