Files
miracles_in_motion/.github/workflows/pages-preview.yml
T
defiQUGandCursor 86646c6f3c 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 <cursoragent@cursor.com>
2026-06-15 20:32:33 -07:00

43 lines
948 B
YAML

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