Save changes
- In the web editor, create or edit a page. Lettercamp groups edits into autosaves and saves pending changes when you open Preview.
- In a connected CLI workspace, run
npx lettercamp pullto get the latest saved files. Edit locally and runnpx lettercamp push. Theposts createandposts updatecommands save directly to the same branch. - For a site connected to your own GitHub repository, push to the preview branch shown in the site’s agent instructions.
Review the build
Open Preview in Lettercamp to see the site built from those files. For example, after adding an article, check its card on the homepage and open it to read the full page. While a newer build is running, wait for it to finish before publishing. If it fails, check Activity, fix the source, and review the next successful build.Make the preview live
Click Publish to promote the build you reviewed. All changes in it go live together, including new articles, edits, and deletions. A publishing-enabled agent can promote that same build withnpx lettercamp publish --preview <id>.
To publish directly from a local folder, use CLI deploy.
Its first deployment creates a hosted site with this same preview workflow.