summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml (renamed from docs/.gitlab-ci.yml)11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/.gitlab-ci.yml b/.gitlab-ci.yml
index 85c85c2a4..1aee0c1fc 100644
--- a/docs/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,17 @@
-image: alpine
-
pages:
+ image: alpine
script:
- apk --no-cache add py2-pip python-dev
- pip install sphinx
+ - cd docs
- apk --no-cache add make
- make html
- - mv _build/html/ public/
+ - mv _build/html/ ../public/
artifacts:
paths:
- public
only:
- - master
+ refs:
+ - master
+ changes:
+ - docs/**