Skip to content

ci: print the real docs host on deploy; update-docs actions to v4 - #7

Open
islandbitcoin wants to merge 1 commit into
mainfrom
ci/deploy-url-and-action-versions
Open

islandbitcoin wants to merge 1 commit into
mainfrom
ci/deploy-url-and-action-versions

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Docs-sweep follow-ups (Ops issues "Correct API docs deployment workflow output URL" and "Assess API docs schema-refresh action version drift").

deploy.yml — summary URL

echo "🔗 Live URL: https://flash-api-docs.${GITHUB_REF_NAME/main/flashapp.me}" printed https://flash-api-docs.flashapp.me, which resolves to the k8s ingress wildcard (174.138.113.0) and fails TLS. The published site is https://docs.flashapp.me/ — dig shows a CNAME to flash-api-docs-aovju.ondigitalocean.app, HTTP 200. Echo-only change; no deployment logic touched.

update-docs.yml — action majors

Every daily run currently carries GitHub's annotation: "Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, actions/setup-node@v3" (e.g. the 2026-09-15 run). deploy.yml is already on v4 of both. v4 takes the same inputs used here (node-version, cache: npm); checkout@v4 keeps persist-credentials: true by default, so the git push step is unaffected.

Validation

  • Both workflow files parse (PyYAML) and keep the same jobs/steps.
  • No workflow run was triggered for this PR (the daily cron will exercise update-docs.yml after merge; deploy.yml runs on the merge push).
  • Not fixed here, tracked separately: schema-refresh commits made with GITHUB_TOKEN (2026-08-22, 08-27, 09-04) did not trigger deploy.yml (last run 2026-08-12), so the site only refreshes if DO App Platform autodeploys on push — being verified against the app spec.

🤖 Generated with Claude Code

…setup-node v4

- deploy.yml: the summary step printed https://flash-api-docs.flashapp.me,
  which resolves to the k8s wildcard and fails TLS. The published site is
  https://docs.flashapp.me (CNAME to the DigitalOcean app). Echo only.
- update-docs.yml: actions/checkout@v3 and actions/setup-node@v3 now run
  with GitHub's "Node.js 20 is deprecated … forced to run on Node.js 24"
  annotation on every daily run. v4 is what deploy.yml already uses; same
  inputs (node-version, cache).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant