Skip to content

Configure GitHub Pages deployment for ARES-E dashboards - #10

Open
DaScient with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-test-import-error
Open

DaScient with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-test-import-error

Conversation

Copilot AI commented May 2, 2026

Copy link
Copy Markdown
Contributor

The repo advertises a live dashboard but has no Pages pipeline, and the README link points at a different repo (dascient.github.io/ARES-E/). This adds a proper static-site build/deploy and a landing page that aggregates the existing PHIAK and WOIK webapps.

Changes

  • index.html — Self-contained landing page (no external JS/CSS) linking to the embedded dashboards, repo source, and docs.
  • .github/workflows/pages.yml — Assembles _site/ and deploys via the official Pages flow:
    • _site/index.html ← landing page
    • _site/phiak/ ← public-health-infra-analytics-kit/webapp/
    • _site/woik/ ← water-ops-interop-kit/webapp/
    • actions/configure-pages@v5 → upload-pages-artifact@v3 → deploy-pages@v4
    • Triggers: push to main, workflow_dispatch. Standard pages: write / id-token: write perms, pages concurrency group.
  • .nojekyll — Disables Jekyll so underscore-prefixed assets are served as-is.
  • README.md — Corrects live-dashboard URL to https://dascient.github.io/Energy/.

One-time setup

After merge, set Settings → Pages → Source: GitHub Actions. Subsequent pushes to main deploy automatically. Dashboards land at /phiak/ and /woik/.

Notes

  • The embedded webapps fetch ../reports/latest_report.json at runtime; that data isn't checked into the repo, so the dashboards will surface a load error until reports are published. Pre-existing behavior, out of scope here.
  • The pytest snippet in the problem statement reproduces only when numpy is missing; the existing bio-digital-ci-cd.yml already runs pip install -r requirements.txt (which pins numpy), and all 4 tests pass under that workflow. No test changes needed.

Agent-Logs-Url: https://github.com/DaScient/Energy/sessions/100e4a0c-1ed2-4071-b4bc-8a19c99e8a1b

Co-authored-by: DaScient <25983786+DaScient@users.noreply.github.com>
@DaScient
DaScient marked this pull request as ready for review May 2, 2026 01:27
Copilot AI review requested due to automatic review settings May 2, 2026 01:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitHub Pages deployment pipeline for this repo and introduces a simple landing page to route users to the existing PHIAK/WOIK static dashboards, aligning the published “Live Dashboard” link with this repository.

Changes:

  • Added a self-contained index.html landing page aggregating links to PHIAK/WOIK dashboards plus repo/docs.
  • Added a GitHub Actions Pages workflow that assembles _site/ and deploys via the official Pages actions.
  • Updated README.md to point the live dashboard URL to https://dascient.github.io/Energy/ and added .nojekyll for the deployed site.

Reviewed changes

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

File Description
index.html New landing page for dashboards and references.
README.md Updates the “Launch Dashboard” link to the correct Pages URL.
.nojekyll Disables Jekyll processing for the published Pages artifact.
.github/workflows/pages.yml New workflow to assemble _site/ (landing + embedded webapps) and deploy to GitHub Pages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread index.html
A unified evaluation harness and toolkit that standardizes telemetry, events, and
operational metrics across the Critical Quad — <strong>Data/Energy</strong>,
<strong>Water</strong>, and <strong>Public Health</strong>. The dashboards below are
100% client-side: zero backend, zero tracking, zero PII/PHI.
# Embedded dashboards (each is a self-contained static webapp).
mkdir -p _site/phiak _site/woik
cp -R public-health-infra-analytics-kit/webapp/. _site/phiak/
cp -R water-ops-interop-kit/webapp/. _site/woik/
# Embedded dashboards (each is a self-contained static webapp).
mkdir -p _site/phiak _site/woik
cp -R public-health-infra-analytics-kit/webapp/. _site/phiak/
cp -R water-ops-interop-kit/webapp/. _site/woik/
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.

3 participants