@davoodmehraban89 / LifeMate / commits / 3d1e6b7
Fork 0

LifeMate — Personal, Family & Learning Companion

ci(qa): build and deploy LifeGuide PWA through GitHub Pages when repository Pages enabled

davoodmehraban89 committed Oct 15, 2026 at 08:23 UTC 3d1e6b7b7f120de8f4bc139a1d591142bbce7aad
1 file changed +48
.github/workflows/lifeguide-github-pages-qa.yml new
+48
@@ -0,0 +1,48 @@
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: Build self-hosted LifeGuide PWA, with API intentionally disabled
27 + run: bash scripts/build-github-pages-qa.sh
28 + - name: Validate GitHub Pages is enabled
29 + uses: actions/configure-pages@v5
30 + - name: Upload static Pages artifact
31 + uses: actions/upload-pages-artifact@v4
32 + with:
33 + path: apps/lifemate/build/web
34 +
35 + deploy:
36 + needs: build
37 + runs-on: ubuntu-latest
38 + permissions:
39 + contents: read
40 + pages: write
41 + id-token: write
42 + environment:
43 + name: github-pages
44 + url: ${{ steps.deployment.outputs.page_url }}
45 + steps:
46 + - name: Publish only LifeGuide QA static site
47 + id: deployment
48 + uses: actions/deploy-pages@v4