From ebb126c0b891eb7299d92ac8645eaed80c81b61e Mon Sep 17 00:00:00 2001 From: U~man Date: Sat, 18 Jul 2020 10:32:54 +0200 Subject: [PATCH] DOC: CI --- .gitlab.ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab.ci.yml b/.gitlab.ci.yml index fc50e79..d0042fb 100644 --- a/.gitlab.ci.yml +++ b/.gitlab.ci.yml @@ -1,5 +1,9 @@ -# This file is a template, and might need editing before it works on your project. -# Full project: https://gitlab.com/pages/plain-html +image: ruby:2.7 + +workflow: + rules: + - if: "$CI_COMMIT_BRANCH" + pages: stage: deploy script: @@ -7,5 +11,5 @@ pages: artifacts: paths: - public - only: - - development + rules: + - if: '$CI_COMMIT_BRANCH == "development"'