From 9c1dd52fea6c58ad9a5cb65cdf58ff8ca6fd19ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lasse=20Fr=C3=B6hner?= <lasse@starcopter.com>
Date: Wed, 16 Mar 2022 17:52:06 +0000
Subject: [PATCH] Update README.md

---
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index baf7855..a90a74d 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ test:
   artifacts:
     paths:
     - test
-  except:
-  - master
+  rules:
+    - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
 
 pages:
   stage: deploy
@@ -37,8 +37,8 @@ pages:
   artifacts:
     paths:
     - public
-  only:
-  - master
+  rules:
+    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
 ```
 
 ## Building locally
-- 
GitLab