diff --git a/.compose-gitlab-ci.yml b/.compose-gitlab-ci.yml index b2bab96366e26b27dd25f6c9eb1117afb3485a34..9c07c1ca8ca1a9e3d4e1721c0a8602c21bb3b01a 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