LifeMate — Personal, Family & Learning Companion
ci(pages): fail fast on disabled Pages before Flutter build and select QA project base
davoodmehraban89 committed
Oct 15, 2026 at 09:31 UTC
c6cb53ac8f8f632725d48371c28a56dd40acb1e3
1 file changed
+6
-2
.github/workflows/lifeguide-github-pages-qa.yml
+6
-2
@@ -23,10 +23,14 @@ jobs:
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
28
- - name: Validate GitHub Pages is enabled
29
- uses: actions/configure-pages@v5
34
- name: Upload static Pages artifact
35
uses: actions/upload-pages-artifact@v4
36
with: