]> Kevux Git Server - kevux.org-website/commitdiff
Update: Create a gitlab static site file based on documentation. gitlab
authorKevin Day <thekevinday@gmail.com>
Mon, 16 Jan 2023 16:23:51 +0000 (10:23 -0600)
committerKevin Day <Kevin@kevux.org>
Wed, 30 Apr 2025 01:28:05 +0000 (20:28 -0500)
This is a direct copy and paste of their example configuration with the branch name being the only change.

see: https://docs.gitlab.com/ee/user/project/pages/introduction.html#specific-configuration-options-for-pages

.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..e7df4ea
--- /dev/null
@@ -0,0 +1,10 @@
+pages:
+  script:
+    - mkdir .public
+    - cp -r * .public
+    - mv .public public
+  artifacts:
+    paths:
+      - public
+  only:
+    - gitlab