Meris Tarhanis
06/03/2022, 9:32 AMFrank
Meris Tarhanis
06/03/2022, 2:03 PMimport * as sst from '@serverless-stack/resources';
export default class SwaggerStack extends sst.Stack {
constructor(scope, id, props) {
super(scope, id, props);
// Define our Swagger UI App
const site = new sst.ReactStaticSite(this, 'SwaggerUI', {
path: 'api-docs',
});
// Show the url in the output
this.addOutputs({
SiteUrl: site.url,
ApiOwner: "ProdataHub"
});
}
}
Meris Tarhanis
06/03/2022, 2:03 PMFrank
sst build
locally, and it’s only getting build when deployed through Seed?Meris Tarhanis
06/03/2022, 2:17 PMFrank
sst build
or sst deploy
locally and see if that happen?Frank
sst deploy
with a couple of extra environment variables ie. CI=true
Frank