No. Put your changes in environment variables. You now can override all site settings this way.
You might be facing this issue
I know DigitalOcean’s CDN service doesn’t work with Discourse, but I plan on using BunnyCDN with DigitalOcean Spaces or BackBlaze.
Does this guide work without having to do the following?: