Skip to content

ci: deploy homepage with github pages#194

Merged
Colin4k1024 merged 1 commit into
mainfrom
codex/deploy-homepage
May 11, 2026
Merged

ci: deploy homepage with github pages#194
Colin4k1024 merged 1 commit into
mainfrom
codex/deploy-homepage

Conversation

@Colin4k1024
Copy link
Copy Markdown
Owner

Summary

Describe the change and why it is needed.

Changes

Validation

  • go test ./...
  • go build ./...
  • docs updated when behavior changed

Compatibility / Risk

Call out breaking changes, migrations, or runtime risks.

Related Issues

Link related issues (e.g. Closes #123).

Copilot AI review requested due to automatic review settings May 11, 2026 06:18
@Colin4k1024 Colin4k1024 merged commit 862dea0 into main May 11, 2026
5 of 6 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR adds a standalone static homepage that can be deployed via GitHub Pages, while also switching the API server’s homepage handler to serve the same HTML via go:embed.

Changes:

  • Added a static homepage bundle (index.html + .nojekyll) under internal/api/http/static/homepage/.
  • Replaced the large inlined HTML constant in homepage.go with an embedded file.
  • Introduced a GitHub Actions workflow to publish the homepage directory to GitHub Pages on pushes to main.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
internal/api/http/static/homepage/index.html Adds the static homepage HTML/CSS/JS served by Pages and embedded by the API.
internal/api/http/static/homepage/.nojekyll Disables Jekyll processing for the Pages artifact.
internal/api/http/homepage.go Switches homepage HTML delivery from inline string to go:embed.
.github/workflows/homepage-pages.yml Adds CI workflow to upload and deploy the homepage directory to GitHub Pages.

Comment on lines +517 to +520
runtimeStatus.innerHTML =
"<strong>Runtime detected:</strong> connected to " +
service +
". Local shortcuts for /api/health, trace, and metrics are now available.";
(function () {
var runtimePanel = document.getElementById("runtime-links");
var runtimeStatus = document.getElementById("runtime-status");
var apiHealthURL = "api/health";
Comment on lines +369 to +371
<a class="button" href="https://github.com/Colin4k1024/Aetheris/blob/main/docs/guides/quickstart.md" target="_blank" rel="noreferrer">Read quickstart</a>
<a class="button-secondary" href="https://github.com/Colin4k1024/Aetheris/blob/main/docs/reference/api.md" target="_blank" rel="noreferrer">Browse API</a>
<a class="button-secondary" href="https://github.com/Colin4k1024/Aetheris" target="_blank" rel="noreferrer">View repository</a>
@@ -0,0 +1 @@

Comment on lines +1 to +3
name: Homepage Pages

on:
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