[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 20:43:07 UTC 2026
Felix Paul Kühne pushed to branch hugo-rewrite at VideoLAN organization / websites
Commits:
ca99c58f by Felix Paul Kühne at 2026-05-06T22:42:57+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,28 @@ 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 https://www-test.videolan.org/
+ artifacts:
+ paths:
+ - www.videolan.org/public
+ publish: www.videolan.org/public
+ only:
+ refs:
- hugo-rewrite
+ - merge_requests
changes:
- www.videolan.org/**
+ - .gitlab-ci.yml
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/ca99c58fd3e9743ed10c7e7f31f04bb802f35d92
--
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/commit/ca99c58fd3e9743ed10c7e7f31f04bb802f35d92
You're receiving this email because of your account on code.videolan.org.
More information about the www-doc
mailing list