Create an ephemeral environment
Pre-requisites
Create ephemeral environments on pull request is set to ON
Destroy environment after merge or pull request is set to ON.

Creating your first Ephemeral Environment
1. Make a change in the code. Let's take a simple change for the frontend, changing the navbar background.
For this, you can edit the frontend/src/App.css
file. Find the .navbar-dark
selector and change the background colour.
2. Create a Pull Request
3. The Bunnyshell Ephemeral Environment will not be automatically created.

4. Open the frontend
Application from the Github Pull Request comment added by Bunnyshell.

5. Open the frontend
Application from the UI by clicking the icon.
6. Observe the changes made. In our case, we removed the navbar gradient and made it blue.


Automatically deleting your first Ephemeral
1. Close the Pull Request from Github
2. Observe the Environment being deleted
If the Pull Request would have been merged, the result would have been the same.
On top of terminating the Ephemeral, if the Auto-update setting was set to ON for the Primary Environment, it would have gotten auto-updated too.

Last updated
Was this helpful?