diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2018-12-17 01:12:41 -0800 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2018-12-17 23:39:58 -0800 |
commit | 2ef8a99e8ea4a3a7b832cbea5a6420bf178b43a1 (patch) | |
tree | 7295a12819cd74b0a0d67b3d8bc2a300a028fa15 | |
parent | 55b89caa2e98d50b7fb1623ea4288653d4f2f147 (diff) |
.gitlab-ci.yml: Build the website when the docs directory changes
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-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/** |