From 5e96aaca8324dbf017afc009eb67ddef110a2889 Mon Sep 17 00:00:00 2001
From: Dashamir Hoxha <dashohoxha@gmail.com>
Date: Sat, 9 May 2020 12:07:51 +0000
Subject: [PATCH] Update .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0abfd8d..69324d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,10 @@
 image: dockerscripts/bookdown
 
 pages:
+  rules:
+  - if: $CI_COMMIT_BRANCH == "master"
   script:
   - ./render.sh
   artifacts:
     paths:
-    - public
-  only:
-  - master
+    - public
\ No newline at end of file
-- 
GitLab