forest deploy command enables you to apply some layout changes to your origin environment.
$ forest deploy --helpDeploy layout changes of a branch|staging to Production.USAGEforest deploy [BRANCH_NAME]ARGUMENTSBRANCH_NAME The name of the local branch|staging to deploy to Production.OPTIONS--force Skip confirmations.--help Display usage information.
It is paramount to understand this command before using it:
As you can see in the above figure, the layout changes (Δ) located in your local branch
my-branch will be irreversibly applied to your Production layout. Since your remotes' layout are based on your production's layout, the changes will appear there too.
To deploy, simply run
$ forest deploy[? Select the branch|staging you want to deploy:feature/brand-new-buttonmy-super-branchfix/some-branchStaging 1Staging 2
This is possible only from a remote environment:
To deploy your latest layout changes from a remote environment, you may use the top banner link: "Deploy to production".