Skip to content
Merged
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
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,18 @@ jobs:
with:
version: 10.4.1

# `cache: pnpm` would speed up installs but requires a committed
# pnpm-lock.yaml to compute its cache key. Skipping until we ship
# a standalone lockfile.
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

# No committed lockfile yet — the site is also a workspace member
# of the private agentik-studio monorepo where the canonical
# lockfile lives. CI resolves from package.json ranges.
# A standalone pnpm-lock.yaml is now committed (sites-fix,
# 2026-10-02) — frozen install so a floating transitive dependency
# can't silently break the build again the way an unpinned
# mdast-util-to-markdown release did.
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
run: pnpm install --frozen-lockfile

# `prebuild` + `pretypecheck` both run scripts/sync-content.mjs
# which clones github.com/agentproto/ts into .cache/ at depth 1.
Expand Down
28 changes: 11 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
name: Deploy to GCP Cloud Run

# DISABLED as an automatic trigger (sites-fix, 2026-10-02): this site is
# live on OVH (Coolify app `agentproto-cli-site` on `app-internal-a`,
# deployed via `deployment/ovh/scripts/build-deploy.sh agentproto-cli-site`
# from the agentik-studio monorepo — see that repo's
# `deployment/ovh/fleet-services.yaml`, where this service is already
# declared and proven, and `deployment/ovh/SERVICES-STATUS.md`), not
# Cloud Run. The daily schedule below was failing every run (missing/stale
# GCP IAM + Artifact Registry wiring), adding noise without protecting
# anything real. Left in place, `workflow_dispatch`-only, as a documented
# rollback path — delete once OVH has been the deploy path long enough
# that nobody expects to fall back to it.
on:
push:
branches: [main]
# Allow manual triggering from the Actions UI for emergency redeploy.
workflow_dispatch:
# Triggered by repository_dispatch from agentproto/ts when the
# docs/cli/ tree changes — keeps content fresh without manual
# rebuild. Configure via a follow-up workflow in the ts repo.
repository_dispatch:
types: [content-changed]
# Stopgap for the above: the ts-side dispatch sender was never built
# (confirmed absent from agentproto/ts's .github/workflows), so a
# docs/cli/ change there currently triggers nothing here at all — this
# site's last deploy (2026-07-13) already predates a getting-started.md
# rewrite that landed 4 days later, and nothing since has closed that
# gap. A daily rebuild bounds the staleness to <24h even while the real
# dispatch sender is unbuilt; it's not a substitute for it.
schedule:
- cron: '0 13 * * *'

concurrency:
group: deploy-${{ github.ref }}
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ RUN apk add --no-cache git python3 make g++ libc6-compat
# releases (npm/cli#7902). Install pnpm directly via npm.
RUN npm install -g pnpm@10.4.1

COPY package.json pnpm-lock.yaml* ./
RUN pnpm install --no-frozen-lockfile
# A standalone pnpm-lock.yaml is committed (sites-fix, 2026-10-02) so
# this resolves to pinned versions, not floating package.json ranges.
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile

COPY . .
ENV NODE_ENV=production
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://cli.agentproto.sh",
"repository": {
"type": "git",
"url": "https://github.com/agentproto/site"
"url": "https://github.com/agentproto/cli-site"
},
"license": "Apache-2.0",
"type": "module",
Expand Down Expand Up @@ -37,6 +37,7 @@
"zod": "^4.4.3"
},
"devDependencies": {
"@mdx-js/mdx": "^3.1.1",
"@tailwindcss/postcss": "^4.3.0",
"@types/node": "^24.12.3",
"@types/react": "19.2.14",
Expand All @@ -46,5 +47,10 @@
},
"engines": {
"node": ">=20.9.0"
},
"pnpm": {
"overrides": {
"mdast-util-to-markdown": "2.1.2"
}
}
}
Loading
Loading