[libpanel: 2/3] docs: Add a CI pipeline to deploy docs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpanel: 2/3] docs: Add a CI pipeline to deploy docs
- Date: Mon, 5 Sep 2022 20:30:45 +0000 (UTC)
commit bc05724003d2494bf35af61240b013210c1cc355
Author: Stephan Vedder <vedder mbits info>
Date: Wed Jul 20 09:09:07 2022 +0200
docs: Add a CI pipeline to deploy docs
Will automatically host the own documentation
.gitlab-ci.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..804c45d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,27 @@
+stages:
+- build
+- pages
+
+fedora:
+ stage: build
+ image: fedora:latest
+ script:
+ - sudo dnf install -y meson gi-docgen gettext gcc git gtk4-devel libadwaita-devel
+ - meson build -Ddocs=enabled
+ - ninja -C build test
+ - mv build/docs/panel-1.0 docs
+ artifacts:
+ paths:
+ - docs
+
+pages:
+ stage: pages
+ dependencies:
+ - fedora
+ script:
+ - mv docs/panel-1.0 public
+ artifacts:
+ paths:
+ - public
+ only:
+ - main
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]