Skip to content

Commit ce9b186

Browse files
committed
chore(ci): Generate docs via GitLab Pages
Fixes: https://gitlab.archlinux.org/archlinux/signstar/-/issues/91 Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
1 parent 99ac6b3 commit ce9b186

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.gitlab-ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ stages:
99
- signstaros
1010
- publish
1111
- report
12+
- pages
1213

1314
check-commits:
1415
before_script:
@@ -148,3 +149,19 @@ issue-bot:
148149
rules:
149150
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
150151
when: on_failure
152+
153+
pages:
154+
before_script:
155+
- pacman-key --init
156+
- pacman -Sy --needed --noconfirm archlinux-keyring
157+
- source .env && pacman -Syu --needed --noconfirm $PACMAN_PACKAGES
158+
- just install-rust-dev-tools
159+
stage: pages
160+
script:
161+
- just docs
162+
artifacts:
163+
paths:
164+
- target/doc
165+
publish: target/doc
166+
rules:
167+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

0 commit comments

Comments
 (0)