[gcr/main: 3/34] ci: Publish the documentation from gcr-3
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/main: 3/34] ci: Publish the documentation from gcr-3
- Date: Sun, 27 Mar 2022 08:27:42 +0000 (UTC)
commit 9b155a51c11440c498a355d011dbecf67aee88a0
Author: Corentin Noël <corentin noel collabora com>
Date: Wed Nov 17 10:32:42 2021 +0100
ci: Publish the documentation from gcr-3
.gitlab-ci.yml | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91999cd..13d06d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,14 +86,22 @@ fedora:coverage:
pages:
stage: deploy
only:
- - master
+ - main
needs: ['fedora:coverage']
+ before_script:
+ - dnf upgrade -y
+ - dnf install -y curl unzip
script:
- mkdir public
+ - 'curl --location --output gcr-3.zip
"https://gitlab.gnome.org/api/v4/projects/${CI_PROJECT_ID}/jobs/artifacts/gcr-3-41/download?job=fedora:coverage&job_token=${CI_JOB_TOKEN}"'
+ - unzip -q gcr-3.zip -d gcr-3
+ - mv gcr-3/_build/docs/gck/gck-1 public/gck-1
+ - mv gcr-3/_build/docs/gcr/gcr-3 public/gcr-3
+ - mv gcr-3/_build/docs/ui/gcr-ui-3 public/gcr-ui-3
- mv _build/meson-logs/coveragereport public/coverage
- - mv _build/docs/gck/gck-1 public/gck-1
- - mv _build/docs/gcr/gcr-3 public/gcr-3
- - mv _build/docs/ui/gcr-ui-3 public/gcr-ui-3
+ - mv _build/docs/gck/gck-1 public/gck-4
+ - mv _build/docs/gcr/gcr-3 public/gcr-4
+ - mv _build/docs/ui/gcr-ui-3 public/gcr-gtk-4
artifacts:
when: on_success
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]