sst / sst

Build full-stack apps on your own infrastructure.
https://sst.dev
MIT License
22.22k stars 1.69k forks source link

How to get stage inside run()? #3892

Closed jonatasfl closed 3 months ago

jonatasfl commented 3 months ago

I need to configure my Nextjs domain based on stage (staging / production) inside run function in sst.config.js. What the bestway to do that?

Thanks!

jonatasfl commented 3 months ago

$app.stage solved my problem!