LifeMate — Personal, Family & Learning Companion

docs/phase1-policy-options
chore/phase1-repository-cleanup deploy/stable-web-apk deployment-static design/mobile-accessibility-v2 design/mobile-navigation-review docs/child-education-access-decision docs/offline-data-rescue-options docs/owner-guide-and-delivery-plan docs/phase1-policy-options docs/public-review-live-2026-10-15 feat/aparat-learning-library feat/child-device-safety feat/child-identity-schema feat/flutter-mobile-navigation feat/learning-content-operations feat/local-signing-preflight feat/online-family-stage0 feat/personal-encrypted-recovery feat/private-planner-series-api feat/public-review-page feat/standalone-weekly-planner feat/weekly-planner-android final-feature-1/iran-family-school fix/auth-abuse-expiry-safety fix/auth-expiry-after-lock fix/backend-request-safety fix/lifeguide-bootstrap-naming-ci fix/lifeguide-pages-qa-base-preflight fix/lifeguide-qa-pages-env-deployment fix/local-task-persistence fix/managed-child-session-boundary fix/personal-jalali-dates fix/personal-notification-controls fix/personal-upgrade-delivery-guard fix/sms-approval-gates fix/study-duration-display infra/cloudflare-neon-migration infra/lifeguide-cloudflare-qa infra/lifeguide-github-pages-qa infra/lifeguide-supabase-qa main phase-1/foundation-completion phase-2/product-foundation-identity phase-3/planner-school-family-core phase-4/ai-learning-wellbeing phase-5/hardening-observability-release test/android-reminder-acceptance test/personal-notification-settings test/personal-recovery-acceptance test/role-entry-apk
yml 67 lines 1.85 KB
Raw
1 name: Publish LifeGuide public review website
2
3 on:
4 push:
5 branches: [main]
6 paths:
7 - 'site/review/**'
8 - 'scripts/check-review-site.py'
9 - '.github/workflows/publish-static.yml'
10 pull_request:
11 paths:
12 - 'site/review/**'
13 - 'scripts/check-review-site.py'
14 - '.github/workflows/publish-static.yml'
15 workflow_dispatch:
16
17 permissions:
18 contents: read
19
20 concurrency:
21 group: lifeguide-public-pages
22 cancel-in-progress: false
23
24 jobs:
25 build:
26 runs-on: ubuntu-latest
27 permissions:
28 contents: read
29 pages: read
30 steps:
31 - uses: actions/checkout@v4
32 - name: Validate public content and local assets
33 run: python3 scripts/check-review-site.py
34 - name: Configure existing GitHub Pages site
35 uses: actions/configure-pages@v5
36 - name: Record public product status without source identifiers
37 run: |
38 python3 - <<'PY'
39 import json
40 from pathlib import Path
41 Path('site/review/build-info.json').write_text(json.dumps({
42 'product': 'LifeGuide',
43 'purpose': 'public-product-review',
44 'liveLogin': False,
45 }, indent=2) + '\n')
46 PY
47 - name: Validate complete public artifact
48 run: python3 scripts/check-review-site.py
49 - name: Upload review website only
50 uses: actions/upload-pages-artifact@v3
51 with:
52 path: site/review
53 deploy:
54 # Keep the existing main-only deployment policy; pull requests validate only.
55 if: github.ref == 'refs/heads/main'
56 needs: build
57 runs-on: ubuntu-latest
58 permissions:
59 pages: write
60 id-token: write
61 environment:
62 name: github-pages
63 url: ${{ steps.deployment.outputs.page_url }}
64 steps:
65 - name: Deploy owner-requested public product review
66 id: deployment
67 uses: actions/deploy-pages@v4