From f9472031b45cf1af96999e317cc8597c71a1471d Mon Sep 17 00:00:00 2001 From: Anne Tipka <tipka.anne@gmail.com> Date: Wed, 25 Nov 2020 12:30:12 +0000 Subject: [PATCH] Add yml to provide pages --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0a46716 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +image: python:3.7-alpine + +test: + stage: test + script: + - pip install -U sphinx + - sphinx-build -b html . public + only: + - branches + except: + - master + +pages: + stage: deploy + script: + - pip install -U sphinx + - sphinx-build -b html . public + artifacts: + paths: + - public + only: + - master -- GitLab