From 2ddb81a3f0f043709d395bb77a1cebe07378a636 Mon Sep 17 00:00:00 2001
From: Valerio Formato <valerio.formato@cern.ch>
Date: Wed, 30 Aug 2023 16:49:58 +0200
Subject: [PATCH] Enable deploy only for main branch and fix deploy path

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c70d47..c62d3ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,9 +27,9 @@ deploy:prod:
   <<: *deploy
   tags:
     - caesarvm
-  # only:
-  #   - main
+  only:
+    - main
   needs: [ "build:docker" ]
   variables: 
-    DEPLOY_PATH: "/test/wiki/docs/build/html"
+    DEPLOY_PATH: "/app/wiki/docs/build/html"
     GIT_STRATEGY: clone
\ No newline at end of file
-- 
GitLab