[gimp-web/gl-pages: 1/2] Publish output with GitLab Pages




commit 5cc024481834e966c8b41df6be51eda50fe992a1
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue May 10 07:53:22 2022 +0200

    Publish output with GitLab Pages

 .gitlab-ci.yml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9fe8690e..c57f89b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
-image: debian:testing
-
 stages:
   - check
+  - pages
 
 check-mirrors:
+  image: debian:testing
   stage: check
   before_script:
     - apt-get update
@@ -26,3 +26,15 @@ check-mirrors:
     # are other ways to trick the check, but it's better than nothing
     # (which was what we had before).
     - tools/downloads/gimp-check-mirrors.py --verify-checksum
+
+pages:
+  image: quay.io/centos/centos:stream8
+  script:
+    - dnf install -y python3-pip git make
+    - python3 -m venv venv
+    - source venv/bin/activate
+    - pip3 install -r py3-requirements.txt
+    - make html
+  artifacts:
+    paths:
+      - output


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]