Alexis Levasseur
10/08/2021, 6:47 PMReactStaticSite
construct. It's been all good except right now, when I tried to deploy my site, sst does not upload to the s3 bucket.
Seems like it's because it does not detect any changes.
Stack desktop-dp-backend-site-stack
Status: no changes
Now, the stack itself hasn't changed, but the site I'm trying to deploy did.
Is there any ways for sst to detect the build output from the site has indeed changed?
Thanks in advance!thdxr
10/08/2021, 6:50 PMthdxr
10/08/2021, 6:50 PMAlexis Levasseur
10/08/2021, 6:51 PMAlexis Levasseur
10/08/2021, 6:52 PM*const* staticSite = new sst.ReactStaticSite(this, "DailyPuck", {
path: "../daily-puck-fe",
buildCommand: "npm run build-docker",
});
Alexis Levasseur
10/08/2021, 6:52 PMAlexis Levasseur
10/08/2021, 6:57 PMAlexis Levasseur
10/08/2021, 6:58 PMFrank
build
for React app.Alexis Levasseur
10/08/2021, 6:59 PMFrank
.build/cdk.out/desktop-dp-backend-site-stack.template.json
(dropping the file into this thread is good)
2. make a change to ur React site
3. run npm run deploy
again, see if it the change gets deployed
4. if SST shows no changes, share the new CloudFormation template againAlexis Levasseur
10/08/2021, 7:05 PMFrank
Alexis Levasseur
10/08/2021, 7:10 PMAlexis Levasseur
10/08/2021, 7:13 PMAlexis Levasseur
10/08/2021, 7:16 PMthdxr
10/08/2021, 7:23 PMAlexis Levasseur
10/08/2021, 7:23 PMAlexis Levasseur
10/08/2021, 7:24 PMFrank
Alexis Levasseur
10/08/2021, 7:28 PMAlexis Levasseur
10/08/2021, 7:29 PMAlexis Levasseur
10/08/2021, 7:29 PMAlexis Levasseur
10/08/2021, 7:44 PMFrank