Add Gitea Actions workflow for git-pages deployment
Deploy to git-pages / deploy (push) Successful in 10s

Adapts the sln-school-comparison pattern: builds Vite static site in CI,
then copies dist/ to a pages branch served by the git-pages webhook at
pages.civilytics.org/crdc-demo/
This commit is contained in:
2026-08-10 10:57:00 -04:00
parent 52a0c77e31
commit 7cf9777673
2 changed files with 64 additions and 25 deletions
+3 -25
View File
@@ -1,29 +1,7 @@
# Git Pages (Jekyll) configuration — for self-hosted static site deployment.
# Matches the civilytics.org hosting setup where you have a GitHub/GitLab Pages equivalent.
# Git Pages configuration — for self-hosted static site deployment.
# This file is informational; the actual build + deploy happens via .gitea/workflows/pages.yml.
# The workflow builds the Vite app, then copies dist/ to a `pages` branch served by git-pages.
title: CRDC Arrests API Demo
description: "Explore school-based arrest rates by U.S. district with Bayesian model comparisons."
author: Civilytics Consulting LLC
# Exclude non-essential files from Jekyll processing
exclude:
- node_modules
- .git
- .github
- Dockerfile
- docker-compose.yml
- src
- package.json
- package-lock.json
- vite.config.js
- eslint.config.*
# Keep the static build output as-is (no Jekyll processing of JS/CSS)
keep_files:
- dist/
# Markdown settings for any docs pages
markdown: kramdown
kramdown:
syntax_highlighter_opts:
blockquote_plain_markdown: true