Hey guys, in one of my clients we are using BB Pip...
# sst
a
Hey guys, in one of my clients we are using BB Pipelines, we have a React app which is built and deployed with SST. When a PR is created, I want to run the
build
command to be sure the code works when is committed. In that case, which STAGE should I use? I think I need it because I need to pull the hostedZone, for example. Thanks.
f
Hey @Adrián Mouly, after you merge the PR, which stage does it deploy to? I guess you should use the same stage here if your goal is to ensure it can be built successfully upon merging.
Maybe I’m missing something context…
a
That makes sense.
The PR is merged into dev.
So I should build the dev stage.
Once merge is deployed to dev.
Also wondering if I merge into Stage branch.
f
yeah it’d also help if you are building the merged version of the code, instead of what’s in the PR branch.