From be03d92c9476f7da82de4a187961a672bd9c995c Mon Sep 17 00:00:00 2001 From: Carel van Niekerk <carel.niekerk@hhu.de> Date: Wed, 15 Apr 2020 12:43:31 +0200 Subject: [PATCH] Update .gitlab-ci.yml, .gitignore files --- .gitignore | 2 ++ .gitlab-ci.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f35f3eb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +_build +public 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