fuzzyworld

dm / commit

ci: add GitLab Pages deployment pipeline

8f029ca9ac3126f3c0d3e6e27460d9f0e0670baa · Pavel Safronov · 2026-05-27 00:05:52 -0700 · parents c6a7ee63213a

ci: add GitLab Pages deployment pipeline

Deploys the public/ directory to GitLab Pages on every push to the
default branch. No build step required — the app is pure static HTML.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..9e7282d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,9 @@
+pages:
+  stage: deploy
+  script:
+    - echo "Deploying static files to GitLab Pages"
+  artifacts:
+    paths:
+      - public
+  rules:
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH