Sarfraaz Talat
01/06/2022, 10:16 AMAuto-deploy PR
, however it does not provide an option to provide additional environment variables when a stage is selected.
Is there an option somewhere to add additional environment variables on top of the source stage? or are there any envs of seed/sst that we can use to detect the current stage while deploying and run our logic based on stage value there ?Omi Chowdhury
01/06/2022, 11:29 AM$STAGE_NAME
https://seed.run/docs/configuring-stage-variables
In SST its available as app.stage
- we use that to load up different config files and customise the build between personal and upstream stages - I expect you can do the same for PR buildsSarfraaz Talat
01/06/2022, 12:33 PMFrank