LifeMate — Personal, Family & Learning Companion

fix/lifeguide-qa-pages-env-deployment
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 55 lines 1.67 KB
Raw
1 name: LifeGuide GitHub Pages QA (static only)
2
3 on:
4 push:
5 branches:
6 - infra/lifeguide-github-pages-qa
7 workflow_dispatch:
8
9 permissions:
10 contents: read
11
12 concurrency:
13 group: lifeguide-github-pages-qa
14 cancel-in-progress: true
15
16 jobs:
17 build:
18 runs-on: ubuntu-latest
19 steps:
20 - name: Checkout LifeGuide QA source
21 uses: actions/checkout@v4
22 - name: Set up Node.js 22
23 uses: actions/setup-node@v4
24 with:
25 node-version: '22'
26 - name: Fail early if the owner has not enabled GitHub Pages Actions
27 uses: actions/configure-pages@v5
28 - name: Build self-hosted LifeGuide PWA, with API intentionally disabled
29 env:
30 # Default GitHub project URL: https://davoodmehraban89.github.io/LifeMate/
31 # Set to / only after GitHub accepts qa.lifeguide.ir as a custom domain.
32 LIFEGUIDE_PAGES_BASE_HREF: /LifeMate/
33 run: bash scripts/build-github-pages-qa.sh
34 - name: Upload static Pages artifact
35 uses: actions/upload-pages-artifact@v4
36 with:
37 path: apps/lifemate/build/web
38
39 deploy:
40 needs: build
41 # GitHub automatically protects the default github-pages environment for
42 # its default branch. Keep that protection untouched and use isolated QA.
43 if: github.event_name == 'push' && github.ref == 'refs/heads/infra/lifeguide-github-pages-qa'
44 runs-on: ubuntu-latest
45 permissions:
46 contents: read
47 pages: write
48 id-token: write
49 environment:
50 name: lifeguide-pages-qa
51 url: ${{ steps.deployment.outputs.page_url }}
52 steps:
53 - name: Publish only LifeGuide QA static site
54 id: deployment
55 uses: actions/deploy-pages@v4