From 065d2068e417efdf1c5d9748269f8c97110abada Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?FEL=C5=A0=C3=96CI=20Marek?= <marek.felsoci@inria.fr>
Date: Tue, 18 Apr 2023 13:31:16 +0000
Subject: [PATCH] Fix syntax of CI configuration file

---
 .compose-gitlab-ci.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/.compose-gitlab-ci.yml b/.compose-gitlab-ci.yml
index b2bab96..9c07c1c 100644
--- a/.compose-gitlab-ci.yml
+++ b/.compose-gitlab-ci.yml
@@ -16,24 +16,19 @@ buildrawlatex:
   stage: build
   tags: ['guix']
   script:
-
     # create the public repository where to publish
     - mkdir -p static/rawlatex/
-
     # Publish the org content
     - cd rawlatex
     - guix time-machine --channels=compose-publish-channels.scm -- shell --pure --manifest=compose-publish-manifest.scm -- latexmk -pdf -xelatex -interaction=nonstopmode
     - cd ..
-
     # Make index of public folder:
     - cp rawlatex/*.pdf static/rawlatex/
-
   artifacts:
     paths:
       - static/rawlatex/
   rules:
-    - if: '$CI_COMMIT_BRANCH == "master"'
-      if: '$CI_PIPELINE_SOURCE == "push"'
+    - if: '$CI_COMMIT_BRANCH == "master" && $CI_PIPELINE_SOURCE == "push"'
       # changes:
       #     - rawlatex/*.tex
       #     - rawlatex/*/*.tex
-- 
GitLab