docs/.forgejo/workflows/deploy.yml
Snider a61000db6e feat: migrate docs site to Zensical with full nav and new sections
Replace Hugo+Docsy with Zensical (MkDocs Material). Restructure all
content under docs/ with explicit nav. Add 19 new Go package pages,
plus Agent, MCP, CoreTS, IDE, GUI, and AI (LEM) sections. PHP sidebar
restructured with collapsible Guides/Reference groups. Homepage now
has sidebar with Where to Start guide and Community links.

Tabs: Home | Go | PHP | TS | GUI | AI | Tools | Deploy | Publish

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-11 11:48:44 +00:00

39 lines
974 B
YAML

name: Build and Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Zensical
run: pip install zensical
- name: Build
run: zensical build
- name: Deploy to BunnyCDN
run: |
pip install s3cmd
cat > ~/.s3cfg <<EOCFG
[default]
access_key = $AWS_ACCESS_KEY_ID
secret_key = $AWS_SECRET_ACCESS_KEY
host_base = storage.bunnycdn.com
host_bucket = %(bucket)s.storage.bunnycdn.com
use_https = True
EOCFG
s3cmd sync site/ s3://core-help/ --delete-removed --acl-public
env:
AWS_ACCESS_KEY_ID: ${{ secrets.BUNNY_STORAGE_ZONE }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.BUNNY_STORAGE_KEY }}