mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-01 21:14:49 +00:00
fcc2c3d542
Contributors page (app/[locale]/docs/about/contributors/page.tsx): add heriberto, JF_Carr, rafapuerta and JcMinarro to the testers grid. All with the "testing" role and GitHub's default avatar URL (https://github.com/<handle>.png) so the entries work immediately without requiring custom avatar files. Swap to a per-contributor /images/avatars/<name>.png later if/when custom artwork is ready. deploy.yml triggers: drop `guides/**` (the legacy /guides/[slug]/ page that read those markdown files was removed in PR #211 — the folder no longer affects what the web renders) and `scripts/**` (the bash scripts get rsynced into public/scripts/ during prebuild but they are downloaded by users via install_proxmenux.sh, not browsed via the doc site, so a stale copy is harmless). Add `lang/**` so future translated CHANGELOG / docs (e.g. the Spanish CHANGELOG just shipped in PR #217) auto-deploy. Local build verified: 232 pages, 14450 indexed words, no errors. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
name: Deploy to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
paths:
|
|
- "web/**"
|
|
- "lang/**"
|
|
- "CHANGELOG.md"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: "20"
|
|
cache: 'npm'
|
|
cache-dependency-path: 'web/package-lock.json'
|
|
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v6
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
cd web
|
|
npm ci
|
|
|
|
- name: Build with Next.js
|
|
run: |
|
|
cd web
|
|
npm run build
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@v5
|
|
with:
|
|
path: web/out
|
|
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v5
|