Publishing
You can publish changes made to your site and push them to your live domain instantly. Makeswift also allows you to selectively publish individual site resources, such as colors and global components, without publishing content changes to pages.
How to publish
You can find the publish button at the top right of the builder’s browser bar. Only users with Publisher, Admin, and Owner roles will be able to interact with the Publish button.
![Publish button](https://mintlify.s3-us-west-1.amazonaws.com/makeswift/images/builder/publishing1.png)
The publishing workflow begins by selecting which pages and resources you want to publish at this time. Your list of publishable changes are separated into different sections starting with pages and followed by different site resources.
![Selective publish dialogue](https://mintlify.s3-us-west-1.amazonaws.com/makeswift/images/builder/publishing2.png)
Toggle the checkbox to the left of each item to include it in this publish. You can also toggle the checkbox found in each section’s header to toggle all of it’s items on or off.
Publishing pages
No changes made to pages will take affect on your live site until they are published, including deleting pages or editing their URLs. Pages with recent changes will appear in your publish dialog with a change status found to the right of each page. The different page statuses are the following:
- Updated
- Created
- Deleted
- Taken online
- Taken offline
- Path changed
Publishing offline pages
Edits made to offline pages will not appear in the publish dialog. To publish an offline page, you must first set it to be online. To do so, navigate to the offline page and deselect all elements in the builder. In the right sidebar, select the Page tab. Click the toggle in the “Online” panel to turn it green and set the page online. You will now find that page included in the publish dialog.
![Online toggle](https://mintlify.s3-us-west-1.amazonaws.com/makeswift/images/builder/publishing3.png)
Publishing site resources
Like pages, edits made to site resources will be displayed as individual, publishable items. Site resources found in the publish dialog include:
- Global components
- Colors
- Text styles
![Publishing site resources](https://mintlify.s3-us-west-1.amazonaws.com/makeswift/images/builder/publishing4.png)
When adding a new resource to your site, you must select it in the publish dialog in order for it to be used on your live site. For example, not publishing a newly added site color will cause elements using that color to be displayed as black on live pages.
You can also publish changes made to existing site resources without needing to publish the pages they are found on. Here’s a common situation to apply this workflow: you need to update the navigation global component and publish it immediately, but you have unfinished edits you’ve made to several pages. You can select to only publish the navigation global component which will update the navigation across your live site without publishing your unfinished changes to other pages.
Site history
Makeswift automatically creates a version of your site every time you publish and stores it for up to 30 days. You can find the previous versions of your site in the “History” tab of the publish dialog.
Each version will provide information on what was published and when. You can give versions a custom name as well as publish any previous version of your site. Publishing a previous site version will not affect the current draft state of your site in the builder. It will only point your live site to the selected previous version.
![Publish history](https://mintlify.s3-us-west-1.amazonaws.com/makeswift/images/builder/publishing5.png)
To bring your live site back to the latest version, you can either publish the most recent version in your History tab, or publish new changes to your site in the Changes tab.
Was this page helpful?