Publish and update a site
Put a static version of your project on the web, publish later edits, or take the site offline.
Publish for the first time
- Test the project in Preview.
- When the current task finishes, choose Publish in the project header. Sign in if prompted.
- Follow the conversation while freecode prepares the files. When Your site is live appears, open it and try the published page before sharing the address.
What can run on a published site?
The published site serves static files: HTML, CSS, JavaScript, and images. An app that runs entirely in the visitor’s browser, such as a calculator, works as published. A form that saves submissions to a server needs a separately hosted backend.
If your project is a script, tell the agent what visitors should see. For example, ask it to publish a page that shows the chart the script produced.
Publish later edits
After changing the project, check the new version in Preview. When you want visitors to see it, choose Update site in the header. Open Your site is live to confirm the public result.
Take a site offline
Choose Unpublish beside Your site is live. You can keep editing the project and publish it again later.