You can add anything you want to a deploy by deploying it . For automatic behavior on page visit to the root, I’d suggest that you can create a redirect just and only for “/” that pushes people to the URL you want them at:
/ /landing-page 301
…in your _redirects file should do the job.
If that won’t suit, could you let me know more about why? Then, I’ll be able to try to help find a solution that better suits your needs.
I’m grateful for your response, and feeling embarrassed I didn’t provide enough context for you to fully answer my question… but you may have found the right path anyway.
Here’s some more info, and we’ll see if you change your mind.
Our bare domain should 404 → it hosts a paywalled product that should only be accessible via unique links that contain a special ‘session code’ that authenticates the user.
I have some session codes I have for testing purposes, using test users, parameters to disable analytics, etc., and I’d like Netlify’s GitHub deploy preview notifications (and maybe even CLI deploy notifications?) to automatically append this session code.