Commit bbc36e06 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

doc: add env url override example

parent ab9bd209
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -182,6 +182,8 @@ The **static way** can be implemented simply by setting the appropriate configur
>   AWS_ENVIRONMENT_URL: "https://%{environment_name}.nonprod.acme.domain"
>   # override for prod (late expansion of $AWS_BASE_APP_NAME not needed here)
>   AWS_PROD_ENVIRONMENT_URL: "https://$AWS_BASE_APP_NAME.acme.domain"
>   # override for review (using separate resource paths)
>   AWS_REVIEW_ENVIRONMENT_URL: "https://wonderapp-review.nonprod.acme.domain/%{environment_name}"
> ```

To implement the **dynamic way**, your deployment script shall simply generate a `environment_url.txt` file in the working directory, containing only