]> xenbits.xensource.com Git - www-xenproject-org.git/commitdiff
Prepare for main url
authorAnthony PERARD <anthony.perard@vates.tech>
Mon, 2 Dec 2024 13:45:17 +0000 (14:45 +0100)
committerAnthony PERARD <anthony.perard@vates.tech>
Mon, 2 Dec 2024 13:45:17 +0000 (14:45 +0100)
.gitlab-ci.yml

index b57ed00d15146f5fb9a7037fa34ab4d85fff9dd1..698f9912c83be7ec2a4d32df9ca2f9ea99b8ee34 100644 (file)
@@ -37,7 +37,17 @@ test:
 
 deploy:
   script:
-    - hugo
+    - hugo --baseURL "https://beta.xenproject.org/"
+    - tar caf site.tar.gz public
+  artifacts:
+    paths:
+      - site.tar.gz
+  rules:
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+
+publish:
+  script:
+    - hugo --baseURL "https://xenproject.org/"
     - tar caf site.tar.gz public
   artifacts:
     paths: