diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb3d8ef..3b2f3d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,10 @@ stages: - build - test +workflow: + rules: + - if: '$CI_COMMIT_BRANCH' + variables: CARGO_HOME: $CI_PROJECT_DIR/.cargo @@ -53,9 +57,10 @@ test-json-api: build-wiki: + # Cheap as hell so we run on master basically everytime image: registry.gitlab.com/pages/hugo:latest - only: [ "wiki" ] + only: [ "master" ] stage: docs script: