mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-06 15:51:22 +00:00
Add .gitlab-ci to generate docs
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
d11152b366
commit
28953b2224
33
.gitlab-ci.yml
Normal file
33
.gitlab-ci.yml
Normal file
@ -0,0 +1,33 @@
|
||||
#tests-stretch:
|
||||
# image: debian:stretch
|
||||
# script: debian/run-ci
|
||||
|
||||
#tests-sid:
|
||||
# image: debian:sid
|
||||
# script: debian/run-ci
|
||||
|
||||
docs:
|
||||
stage: test
|
||||
image: debian:sid
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get install -y python3-sphinx
|
||||
- sphinx-build -M html doc _build
|
||||
- mv _build/html docs
|
||||
artifacts:
|
||||
paths:
|
||||
- docs
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
dependencies:
|
||||
- docs
|
||||
script:
|
||||
- rm -fr public
|
||||
- mkdir public
|
||||
- mv docs public/docs
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
# only:
|
||||
# - master
|
Loading…
x
Reference in New Issue
Block a user