diff options
author | Jan Rybar <jrybar@redhat.com> | 2022-10-01 17:31:53 +0200 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2022-10-03 19:52:18 +0200 |
commit | 4e937fde95dc975a756becc426e6e46ae322a3d3 (patch) | |
tree | 9c9c99a078de5a3a8b15a58e4c2e6960b4766769 | |
parent | c83b2f61933d346df60269b2884414454d7b78a4 (diff) | |
download | polkit-4e937fde95dc975a756becc426e6e46ae322a3d3.tar.gz |
polkit Documentation as Gitlab Pages added in CI jobs
-rw-r--r-- | .gitlab-ci.yml | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bcb923..06c25b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,13 +24,15 @@ variables: git dbus-devel -build_stable: - before_script: - - dnf upgrade -y --nogpgcheck fedora-release fedora-repos* - - dnf update -y && dnf install -y $DEPENDENCIES +before_script: + - dnf upgrade -y --nogpgcheck fedora-release fedora-repos* + - dnf update -y && dnf install -y $DEPENDENCIES + +build_stable: + stage: test script: - - meson setup + - meson setup -D authfw=pam -D examples=true -D gtk_doc=true @@ -49,3 +51,20 @@ build_stable: when: 'always' paths: - 'builddir/meson-logs/*.txt' + + +pages: + stage: deploy + script: + - meson setup + -D gtk_doc=true + -D man=true + builddir + - meson compile -C builddir polkit-1-doc:custom + - rm -rf public && mkdir public + - cp -r builddir/docs/polkit/html/* public + artifacts: + paths: + - public + rules: + - if: $CI_COMMIT_TAG |