-
Notifications
You must be signed in to change notification settings - Fork 23
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
Make the publish command update the site #177
Comments
Hey @kkomelin , thanks for the feature request!
the
this could work. I like the separation between publish and update, but we can add something along these lines at some point. Just FYI, at the moment we are working on higher priority issues unfortunately, so it may take a while. One minor problem I see is that we are introducing a Walrus-Sites-specific "magic" file, which is not produced by the framework that built the site, and therefore may be wrongly interpreted by other tooling (for example, if you publish both to walrus sites and to a conventional server, the |
@giac-mysten Thank you for clarifying stuff. I try to make the user experience similar to what they see on other static hosting providers. With Firebase, Vercel, etc., you can deploy a site with one commend - no difference between publishing or updating. As for Sure, no rush. We can come back to this topic whenever you guys have time. |
For now, I've developed a custom script which publishes the app on the first run, sores the site object ID in |
Description
The question here is do we really need a separate
update
command?The only difference between
publish
andupdate
is thatupdate
needs the published site object ID. Can we automate it so that theupdate
command is not needed at all?For example, we could store the site object ID in
.walrus-site.yaml
after publishing the site the first time and read it on publishing the site the second time. Actually, Walrus config already hassystem_object
field which could be used for that purpose.This change could simplify things and consequently improve DX.
Component
site-builder
Code of Conduct
The text was updated successfully, but these errors were encountered: