Add mobile view-only support + Woodpecker CI/CD pipeline #1

Merged
aarbit merged 7 commits from mobile-view-only into main 2026-09-29 21:55:52 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 7fbe53f025 - Show all commits
+3 -3
View File
@@ -5,8 +5,8 @@
# Supabase project — never shares data with production). Production is # Supabase project — never shares data with production). Production is
# never touched automatically — promoting to it is a manual "Deploy" button # never touched automatically — promoting to it is a manual "Deploy" button
# click on a main-branch pipeline run in the Woodpecker UI (Woodpecker's # click on a main-branch pipeline run in the Woodpecker UI (Woodpecker's
# deploy event), which is why deploy-production is gated on `event: deploy` # deployment event), which is why deploy-production is gated on
# rather than `event: push`. # `event: deployment` rather than `event: push`.
# #
# Debian-based node image (not Alpine) for every step: the Supabase CLI's # Debian-based node image (not Alpine) for every step: the Supabase CLI's
# downloaded binary has had musl/Alpine compatibility issues in the past. # downloaded binary has had musl/Alpine compatibility issues in the past.
@@ -58,7 +58,7 @@ steps:
- name: deploy-production - name: deploy-production
image: node:22-bookworm image: node:22-bookworm
when: when:
- event: deploy - event: deployment
branch: main branch: main
evaluate: 'CI_PIPELINE_DEPLOY_TARGET == "production"' evaluate: 'CI_PIPELINE_DEPLOY_TARGET == "production"'
environment: environment:
+1 -1
View File
@@ -121,7 +121,7 @@ revisited and simplified to auto-deploy staging instead.
**Actual flow**: any push (any branch) runs lint + typecheck, then **Actual flow**: any push (any branch) runs lint + typecheck, then
auto-deploys to a shared staging environment — no button needed. Production auto-deploys to a shared staging environment — no button needed. Production
is never touched automatically; promoting to it is a manual **Deploy** is never touched automatically; promoting to it is a manual **Deploy**
button click (Woodpecker's built-in deploy event) on a `main`-branch button click (Woodpecker's built-in `deployment` event) on a `main`-branch
pipeline run, typing `production` as the deploy target pipeline run, typing `production` as the deploy target
(`$CI_PIPELINE_DEPLOY_TARGET`). Requires **"Allow deployments"** enabled in (`$CI_PIPELINE_DEPLOY_TARGET`). Requires **"Allow deployments"** enabled in
the repo's Woodpecker project settings. the repo's Woodpecker project settings.