-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foundation deployment #40
Conversation
I've deleted the upstream workflows rather than disable them for clarity. Will always be easy to reinstate if needed.
Deploying with Cloudflare Pages
|
Not worrying too much about the conflicts here for now. It might make sense for me to redo once current image changes are finalised. |
- Vite base URL now works - Images are hashed for deployment so can be cached - Ignore images in src for the licensing check
ab32cbd
to
cae6018
Compare
The latest build is the first that isn't obviously broken: https://review-ml.microbit.org/deployment/ Will properly test the flows tomorrow. |
04aa558
to
e7ccac7
Compare
Assets is a Vite managed folder - the model files are not hashed so not safe to cache unlike everything else Not easy to convert to be imported as one file references the other. There's probably a Vite plugin that could do the job but one for another time.
e7ccac7
to
c6846d4
Compare
It works at least as well as main (radio bridge flow is broken, a bunch of images are placeholders). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested and it works nicely
I've deleted the upstream workflows rather than disable them for clarity. Will always be easy to
reinstate if needed.
Non-trivial aspects:
all.min.css
source so not entirely clear what's going wrong.all.min.css
is deployed to the root but references the fonts with ../webfonts/... this works because ../ at the root is ignored but at any other path it breaks. Maybe it was always intended to have a CSS directory? I've done that for now.public/assets
is probably just not a good idea.