Skip to content

Deploy docs to Azure SWA (litepost.lykos.ai) - #7

Merged
mohnjiles merged 1 commit into
mainfrom
docs-swa-deploy
Jul 25, 2026
Merged

Deploy docs to Azure SWA (litepost.lykos.ai)#7
mohnjiles merged 1 commit into
mainfrom
docs-swa-deploy

Conversation

@mohnjiles

Copy link
Copy Markdown
Member

Summary

Companion to lykos-infra#39. GitHub Pages was redirecting the docs under the org Pages domain (lykos.ai/LitePost/ → 404 on the production site), so the docs move to their own Azure Static Web App at litepost.lykos.ai:

  • docs.yml swaps deploy-pages for Azure/static-web-apps-deploy (token secret AZURE_STATIC_WEB_APPS_API_TOKEN_DOCS, provisioned by the infra stack)
  • VitePress base returns to / (subdomain root) and the favicon path follows
  • README links updated to litepost.lykos.ai
  • GitHub Pages on this repo has been disabled (done via API; the broken redirect is already gone)

Merge order: apply the infra stack first (creates the SWA + DNS + writes the deploy-token secret), then merge this — the workflow's first run uploads the site.

Test plan

  • vitepress build clean with root base
  • After infra apply + merge: workflow deploys, https://litepost.lykos.ai serves with valid TLS

🤖 Generated with Claude Code

The org-level Pages domain claim redirects project sites under
lykos.ai, where the production site 404s them. The docs now deploy to
a dedicated Free-tier Static Web App (lykos-infra
envs/litepost-docs-prod) with its own subdomain: swap deploy-pages for
Azure/static-web-apps-deploy, drop the /LitePost/ base path, and point
README links at litepost.lykos.ai. GitHub Pages on this repo is
disabled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@mohnjiles
mohnjiles merged commit ab946c2 into main Jul 25, 2026
2 checks passed
@mohnjiles
mohnjiles deleted the docs-swa-deploy branch July 25, 2026 06:29
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.

2 participants