By jongauthier
Hi everyone!
I have a website that I built in Next JS and I’m hosting it on the App Platform with Strapi for the CMS.
When I make updates to the content in Strapi, I can see the changes take affect on my local instance of the website, but the live version won’t take the changes unless I redeploy the project by pushing code to my github repo.
Here are other deploy / build methods available that don’t seem to work:
The client I built the website for is getting pretty annoyed about having to ask me to deploy content for them so any help or ideas would be greatly appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
👋🏼 @jongauthier
Thanks for the details - the steps are helpful too! What’s happening is that when you make changes in Strapi and redeploy your app, App Platform does not know about those changes and sees that your source code and other app config is the same, so it skips the build to save time.
In this case you’ll want to force a rebuild so that the new content is retrieved from Strapi. This is something that we are working on adding to the control panel soon, but for now you can do it using doctl or the API directly.
doctl apps list. You can also find your app’s UUID in the control panel URL.doctl apps create-deployment --force-rebuild <app uuid>Let me know if you run into any issues!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.