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