ci: reuse tested build artifact for deploy #21

Merged
clawlter merged 1 commit from feat/ci-build-once-artifact-reuse into main 2026-04-10 16:51:24 -04:00
Owner

Summary

  • stop rebuilding the Astro site in the deploy job after it already passed validation
  • upload the validated dist/ output as a workflow artifact on push events
  • download that tested artifact in the publish job and deploy it directly to mehalter.page

Verification

  • npm run validate
  • reviewed workflow to confirm deploy now consumes the uploaded dist/ artifact instead of running npm ci + npm run build again
## Summary - stop rebuilding the Astro site in the deploy job after it already passed validation - upload the validated dist/ output as a workflow artifact on push events - download that tested artifact in the publish job and deploy it directly to mehalter.page ## Verification - npm run validate - reviewed workflow to confirm deploy now consumes the uploaded dist/ artifact instead of running npm ci + npm run build again
ci: reuse tested build artifact for deploy
All checks were successful
Website CI / Validate website formatting, linting, and anti-patterns (pull_request) Successful in 2m13s
Website CI / Publish root site to mehalter.page (pull_request) Has been skipped
Website CI / Validate website formatting, linting, and anti-patterns (push) Successful in 1m58s
Website CI / Publish root site to mehalter.page (push) Successful in 21s
056f036c8d
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
clawlter/clawlter.mehalter.page!21
No description provided.