summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2020-05-19 10:05:53 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2020-05-19 10:05:53 +0300
commitd2c51ed2fc589cdb512c1926113258b09254f8fd (patch)
treecb17b83d4118e02997db2711c2c605a6cd3defaa /.gitlab-ci.yml
parentdf818f1e8eaa76de0d54fdc1eb4ce2734311ea59 (diff)
ci: publish generated documentation from master on gitlab pages
https://pipewire.pages.freedesktop.org/pipewire/
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ca07192..da8f92ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
stages:
- container
- build
+ - pages
variables:
FDO_UPSTREAM_REPO: 'pipewire/pipewire'
@@ -80,3 +81,17 @@ build_on_fedora:
- .fdo.distribution-image@fedora
- .build
stage: build
+
+pages:
+ stage: pages
+ dependencies:
+ - build_on_fedora
+ script:
+ - export PREFIX="$PWD/prefix-build_on_fedora"
+ - mkdir public
+ - cp -R $PREFIX/share/doc/pipewire/html/* public/
+ artifacts:
+ paths:
+ - public
+ only:
+ - master