Archive Azure docs, drop GH Pages CNAME deploy, and tighten repo hygiene.

Move legacy deployment guides to docs/archive/azure-deprecated/, replace auto GitHub Pages with artifact upload plus optional pages-preview workflow, update architecture diagram and doc index, and ignore Lighthouse temp artifacts.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
defiQUG
2026-06-15 20:32:33 -07:00
co-authored by Cursor
parent e3a171c5ff
commit 86646c6f3c
39 changed files with 203 additions and 143 deletions
+12 -11
View File
@@ -1,5 +1,9 @@
name: Build and Deploy
# Validates on PR and main; uploads build artifact on main.
# Production traffic: Proxmox VMID 7810 (see docs/deployment/PROXMOX_DEPLOYMENT.md).
# GitHub Pages is NOT canonical for mim4u.org — do not set CNAME to mim4u.org here.
on:
push:
branches: [main]
@@ -10,16 +14,12 @@ jobs:
validate:
uses: ./.github/workflows/validate.yml
deploy:
artifact:
name: Upload build artifact
needs: validate
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
@@ -40,9 +40,10 @@ jobs:
env:
VITE_APP_VERSION: ${{ github.sha }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
- name: Upload dist artifact
uses: actions/upload-artifact@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: mim4u.org
name: dist-main-${{ github.sha }}
path: dist/
if-no-files-found: error
retention-days: 14
+42
View File
@@ -0,0 +1,42 @@
name: GitHub Pages preview (optional)
# Optional static preview only — NOT production mim4u.org (Proxmox 7810 is canonical).
# No CNAME; use the github.io URL from Actions summary.
on:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-preview
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: sudo apt-get update && sudo apt-get install -y imagemagick
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4