Publishing workflows
The editor supports two workflows for publishing documentation updates. The workflow you use depends on your repository’s branch protection rules and the branch you work on.- Create pull requests: If your repository has a branch protection rule that requires pull requests before changes can merge into your deployment branch, the editor creates a pull request when you publish changes.
- Publish directly: If your repository has no branch protection rules, your changes merge to the deployment branch and deploy immediately when you publish.
| Branch type | Branch protection | Publishing workflow |
|---|---|---|
| None | Commits and deploys changes | |
| Deployment branch | Pull requests required | Creates a pull request |
| None | Merges changes to deployment branch and deploys changes | |
| Feature branch | Pull requests required | Creates a pull request |
Save changes
As you edit, the editor tracks your changes.- New or deleted files.
- Content edits in pages.
- Navigation structure changes.
- Media uploads and organization.
- Configuration updates.

Changes on a deployment branch.

Changes on a feature branch.
Publish your changes
If you are on your deployment branch, click Publish in the toolbar. Depending on your workflow, your changes are live as soon as your site redeploys or create a pull request and merge it in your Git provider. If you are on a feature branch, save your changes and then click Publish in the toolbar. Depending on your workflow, your changes are live as soon as your site redeploys or create a pull request and merge it in your Git provider.Resolve conflicts
Conflicts occur when your branch and the deployment branch have incompatible changes to the same files.What causes conflicts
Conflicts happen when:- You and another team member edit the same lines in a file.
- Files are moved or deleted in one branch but modified in another.

