Publish Salesforce Experience Cloud sites directly from VS Code/Cursor. This extension lets you publish your Experience Cloud (Digital Experience) sites from the status bar, using the Salesforce CLI (sf).


Features
- Site selector in the status bar (bottom right). Click it to pick the site to publish; the choice is remembered.
- Publish button in the status bar. Click it to publish the selected site.
- A spinner is shown while publishing, and the extension polls the publish job until it completes.
Prerequisites
- The Salesforce CLI (
sf) must be installed and on yourPATH. - A default org must be authenticated (
sf org login weband/orsf config set target-org=...). All commands run against the CLI default org.
Settings
| Setting | Default | Description |
|---|---|---|
publishForce.pollIntervalSeconds |
5 |
Polling interval for the publish job status. |
publishForce.pollTimeoutSeconds |
300 |
Max time to wait for the job to complete. |
publishForce.publishLabel |
Publish |
Text on the publish status bar button. |
publishForce.publishIcon |
rocket |
Codicon name for the publish button. |
Development
npm install
npm run compile
Press F5 to launch the Extension Development Host.