Skip to content

fix(ci): serve dist/client on Pages (adapter nests static output) - #125

Merged
ronaldtse merged 1 commit into
mainfrom
fix/pages-artifact-path
Aug 25, 2026
Merged

fix(ci): serve dist/client on Pages (adapter nests static output)#125
ronaldtse merged 1 commit into
mainfrom
fix/pages-artifact-path

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • with the Node adapter present, astro emits dist/client (prerendered site) + dist/server (SSR chunks for the /api routes); uploading dist served a 404 at the domain root because index.html lives under client/
  • upload dist/client so Pages serves the static site
  • client-side API calls already target api.interscript.org; the same-origin /api examples in api-docs are the only loss (Pages is static-only)

Test plan

@ronaldtse
ronaldtse merged commit f962a6c into main Aug 25, 2026
4 checks passed
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