Skip to content

Fix playground deployment: add missing examples.js#26

Merged
Sander-Toonen merged 2 commits intomasterfrom
copilot/fix-playground-deployment-issue
Jan 23, 2026
Merged

Fix playground deployment: add missing examples.js#26
Sander-Toonen merged 2 commits intomasterfrom
copilot/fix-playground-deployment-issue

Conversation

Copy link

Copilot AI commented Jan 23, 2026

Hosted playground returns 404 on examples.js while local npm run playground works fine.

The deployment workflow copies playground files to _site/ but was missing examples.js, which index.html loads via script tag.

Changes

  • Added examples.js to the file copy step in deploy-playground.yml
Original prompt

The playground deployes by the github action no longer works. When running npm run playground all works fine, but the hosted version gives a 404 on examples.js


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Sander-Toonen <5106372+Sander-Toonen@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix playground deployment issue in GitHub Actions Fix playground deployment: add missing examples.js Jan 23, 2026
Copilot AI requested a review from Sander-Toonen January 23, 2026 14:36
@Sander-Toonen Sander-Toonen marked this pull request as ready for review January 23, 2026 14:53
Copilot AI review requested due to automatic review settings January 23, 2026 14:53
@Sander-Toonen Sander-Toonen merged commit c60071b into master Jan 23, 2026
7 checks passed
Copy link

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

This PR fixes a deployment issue where the hosted playground was returning a 404 error for examples.js, which is referenced by index.html but was not being copied to the deployment directory.

Changes:

  • Added examples.js to the file copy step in the GitHub Actions deployment workflow

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

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