Creating a Persistent Test Env
Last updated
Last updated
If you are working with Sygnal and using Sygnal's DevProxy, we can also setup a Persistent TEST Environment.
Create a second new site in Netlify
Connect to the same repo, with these settings;
Setting | Value | Notes |
---|---|---|
Site name | e.g. | Our convention is to use the same site name as before, affixed with |
Branch to deploy |
| <- note difference |
Base directory | ( blank ) | |
Build command |
| |
Publish directory |
| |
Functions directory | ( blank ) |
Deploy
Test it
e.g. https://mysite-test.netlify.app/index.js
In site-wide before-head, add your script references;
Make certain to adjust the prod and test URLs accordingly.