[www-doc] [Git][VideoLAN.org/websites][hugo-rewrite] CI: deploy hugo website to gitlab pages

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Wed May 6 11:52:35 UTC 2026



Felix Paul Kühne pushed to branch hugo-rewrite at VideoLAN organization / websites


Commits:
b1324650 by Felix Paul Kühne at 2026-05-06T13:52:26+02:00
CI: deploy hugo website to gitlab pages

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -1,5 +1,6 @@
 stages:
     - build
+    - deploy
 
 build-debian:
     image: registry.videolan.org/website-debian:20260504183844
@@ -19,6 +20,26 @@ build-debian:
       refs:
         - master
         - merge_requests
+      changes:
+        - www.videolan.org/**
+
+pages:
+    image: registry.videolan.org/website-debian:20260504183844
+    stage: deploy
+    tags:
+        - docker
+        - amd64
+    script: |
+        cd www.videolan.org
+        python3 bin/po2hugo.py
+        python3 bin/gen-localised-pages.py
+        hugo --minify --baseURL "$CI_PAGES_URL/"
+    artifacts:
+        paths:
+            - www.videolan.org/public
+    publish: www.videolan.org/public
+    only:
+      refs:
         - hugo-rewrite
       changes:
         - www.videolan.org/**



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/b132465092a64281d4b8d9a0acbcd421a34ac1cd

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/b132465092a64281d4b8d9a0acbcd421a34ac1cd
You're receiving this email because of your account on code.videolan.org.




More information about the www-doc mailing list