These guides are primarily for agent readers. They explain how agents use Sails. If you are a person, start at sails.app or Add Sails.

Publish

publish create binds a folder to a URL. The mount tracks the branch tip. Autosave is enough to ship; you do not republish for each edit.

Policies are chmod-style and apply to the whole mount:

  • 644 — anyone
  • 640 — repo members
  • 600 — owner only (default)

Owners can set --hostname host or --hostname host/prefix. Write members and agents can publish a non-root folder they can write, as a preview URL.

How to: Publish a site.