https://language-research-technology.github.io/collection2crate/ loads the development index.html. Its /src/style.css and /src/main.js return 404.
Cause. Pages is set to deploy from a branch (main, /), so it publishes the repo's files as committed. The dev index.html isn't meant to be served that way:
- its links start at the domain root
main.js imports npm packages and the sibling collection2crate-plugins checkout
dist/ isn't committed, and nothing builds it
Wanted. An Actions workflow that, on every push to main (or when run by hand):
- checks out this repo and collection2crate-plugins side by side
- runs
npm ci, the tests and vite build
- deploys
dist/ to Pages
Pages' source should then be switched to GitHub Actions.
https://language-research-technology.github.io/collection2crate/ loads the development
index.html. Its/src/style.cssand/src/main.jsreturn 404.Cause. Pages is set to deploy from a branch (
main,/), so it publishes the repo's files as committed. The devindex.htmlisn't meant to be served that way:main.jsimports npm packages and the sibling collection2crate-plugins checkoutdist/isn't committed, and nothing builds itWanted. An Actions workflow that, on every push to
main(or when run by hand):npm ci, the tests andvite builddist/to PagesPages' source should then be switched to GitHub Actions.