chore: remove github pages workflow and cname (#130)

This commit is contained in:
banteg
2026-01-14 01:34:46 +04:00
committed by GitHub
parent 142dedca0e
commit 100fcedb76
3 changed files with 8 additions and 61 deletions
-60
View File
@@ -1,60 +0,0 @@
name: Docs
on:
push:
branches: ["master"]
paths:
- "docs/**"
- "src/**"
- "zensical.toml"
- "pyproject.toml"
- "uv.lock"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.14"
enable-cache: true
- name: Sync docs dependencies
run: uv sync --frozen --no-install-project --group docs
- name: Prepare docs
run: uv run --no-sync python scripts/docs_prebuild.py
- name: Build site
run: uv run --no-sync zensical build --clean
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
-1
View File
@@ -1 +0,0 @@
takopi.banteg.xyz
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
pip install uv
uv python install 3.14
uv sync --frozen --no-install-project --group docs
uv run --no-sync python scripts/docs_prebuild.py
uv run --no-sync zensical build --clean