Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Manual runs: GitHub Actions, select workflow, **Run workflow**.
1. Separate workflows with `paths:` filters so only the changed surface deploys.
2. Vercel via CLI in Actions (`pull` then `build --prod` then `deploy --prebuilt`). See [Vercel + GitHub Actions](https://vercel.com/kb/guide/how-can-i-use-github-actions-with-vercel).
3. Cloud Run via `gcloud run deploy --source` with Workload Identity Federation (OIDC). No JSON service-account key in git.
4. Backend deploy requires `id-token: write` for `google-github-actions/auth@v2`.
4. Backend deploy requires `id-token: write` for `google-github-actions/auth@v3`.
5. Backend tests run with `ANTIGRAVITY_ENABLED=false` for deterministic CI.
6. Production still needs a static `VERCEL_TOKEN` secret (no Vercel OIDC deploy path in this repo).
7. Frontend `vercel.json` sets `"git": { "deploymentEnabled": false }` so only Actions deploys production.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
frontend: ${{ steps.filter.outputs.frontend }}
backend: ${{ steps.filter.outputs.backend }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
- uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
- uses: dorny/paths-filter@v4
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
id: filter
with:
filters: |
Expand All @@ -56,8 +56,8 @@ jobs:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
- uses: actions/setup-node@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
node-version: "22"
cache: npm
Expand All @@ -78,8 +78,8 @@ jobs:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
- uses: actions/setup-python@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
python-version: "3.12"
cache: pip
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
python-version: "3.12"
cache: pip
Expand Down Expand Up @@ -71,18 +71,18 @@ jobs:
REGION: ${{ vars.CLOUD_RUN_REGION || 'us-central1' }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.

- name: Authenticate to Google Cloud (WIF)
id: auth
uses: google-github-actions/auth@v2
uses: google-github-actions/auth@v3
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
project_id: ${{ env.PROJECT_ID }}

- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v2
uses: google-github-actions/setup-gcloud@v3
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
project_id: ${{ env.PROJECT_ID }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.

- name: Require Vercel secrets
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "All required Vercel secrets are present (values not logged)."

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
Comment thread
adi-IL marked this conversation as resolved.
Comment thread
adi-IL marked this conversation as resolved.
with:
node-version: "22"
cache: npm
Expand Down
Loading