Skip to content

fix(ci): point workflows at dist/ (Astro output, not .vitepress/dist)#23

Merged
ronaldtse merged 3 commits into
mainfrom
fix/ci-astro-dist-path
Jul 23, 2026
Merged

fix(ci): point workflows at dist/ (Astro output, not .vitepress/dist)#23
ronaldtse merged 3 commits into
mainfrom
fix/ci-astro-dist-path

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • The Astro migration in feat: migrate site to Astro with interactive 3D wireframe logo #22 changed the build output from .vitepress/dist/ (VitePress) to dist/ (Astro), but the two GitHub Actions workflows still pointed at the old path.
  • Both build_deploy.yml (Pages artifact upload) and links.yml (lychee link checker) now read from dist/.

Test plan

  • build_deploy workflow succeeds after merge — site deploys to GitHub Pages
  • Link Checker workflow succeeds after merge

Notes

Replace the VitePress site with an Astro + Vue + Tailwind v4 build, and
introduce a redesigned homepage centered on a real 3D wireframe of the
UnitsML mark.

Highlights
- 3D wireframe logo (Logo3DWireframe.vue) — manual SVG 3D projection of
  the polygon mark, edges colored by Y position through the 7 official
  BIPM SI Brochure base-unit colors. Cursor parallax (rotateX/Y) reads
  zero rotation when the cursor is at logo center, then tilts away.
- Strummable strings — each of the 48 wireframe edges is a string tuned
  to a C major scale across 1.5 octaves (C5 A4 G4 F4 E4 D4 C4).
  Pluck on click, strum on drag, with three synth voices (piano, bell,
  electronic) via Web Audio.
- The Units Song — three recognizable public-domain melodies
  (Ode to Joy, Amazing Grace, Twinkle Twinkle Little Star) triggerable
  by word, button, or console.
- Sounds-have-units educational readout — live panel showing each note's
  frequency (Hz = s-1), period (ms), wavelength (cm), and MIDI number,
  tied back to the SI base units. Toggled by a music-note emoji.
- Dark mode toggle with no-flash bootstrap and localStorage persistence.
- Hero dim-symbol collection game (L M T I Θ N J -> Master of Dimensions).
- Word-trigger easter eggs: nist, oasis, calconnect, bipm, iec, ocx,
  wappi, units, si, 2003, hello, plus SI base unit names -> fact cards.
- Count-up UnitsDB stat counters (IntersectionObserver + rAF).
- Chrome-particle logo click burst + 5-click combo cascade.

Content refresh
- Frame UnitsML as "since 2003 - 23 strong years and counting" throughout
  (about, history, who-uses-unitsml, WappiMascot facts).
- Front-page gutter fix (max-width + auto margins on home-hero and section).
- Replace GitHub text link in nav with a GitHub mark SVG button.

Build and infra
- astro.config.mjs, src/ tree, src/content collections, src/layouts,
  src/components/islands/* (Vue 3 islands via client:load and client:idle).
- .astro/ build cache and kimi-export-session_*.md added to .gitignore.
@ronaldtse
ronaldtse merged commit 07731e6 into main Jul 23, 2026
3 of 4 checks passed
@github-actions

Copy link
Copy Markdown

🔗 Link Check Failed

Results

Summary

Status Count
🔍 Total 681
🔗 Unique 111
✅ Successful 676
⏳ Timeouts 0
🔀 Redirected 4
👻 Excluded 2
❓ Unknown 0
🚫 Errors 3
⛔ Unsupported 0

Errors per input

Errors in dist/about/index.html

  • [ERROR] file:///home/runner/work/unitsml.github.io/unitsml.github.io/dist/schemas.html (at 30:277) | File not found. Check if file exists and path is correct
  • [403] https://www.iec.ch/ (at 48:3268) | Rejected status code: 403 Forbidden

Errors in dist/supporters/index.html

Redirects per input

Redirects in dist/about/index.html

Redirects in dist/supporters/index.html

Full Github Actions output

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