From 0a06b56da0a7fdebbf7d02e00bfeff52c6cecc60 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 13 Feb 2021 18:11:10 -0800 Subject: [PATCH] Moving docs building to master since its such a cheap procedure --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: