deploy
Last updated
Last updated
This is the official documentation of the @forestadmin/agent
Node.js agent.
The forest deploy
command enables you to apply some layout changes to your reference environment.
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 Environment layouts. Since your Remote Environment have Production as origin, the changes will appear there too.
To deploy, simply run forest deploy
:
To be able to deploy, the origin of the branch should be the reference Environment (generally Production).
This action is only possible for Remote Environments that have an origin that is the reference Environment (so generally Production as origin).
To deploy your latest layout changes from a Remote Environment, use the top banner link: "Deploy to ...".