I’m currently writing a deploy script that makes use of rsync to deploy my Kirby 4 site to a shared hosting provider, and I noticed that there is no real “deployment” page in the docs or the cookbook. The only “official” place where I found for example the information which folders not to synchronize with rsync was the .gitignore file in the starterkit.
So I would suggest that this may be a good resource to have for beginners. The page could also cover the site/media cache folders and how/why to not include them in a deployment, or when it is wise to delete the cache folders.
What do you guys think? Or have I just missed it? I know that there are some articles about specific deployment scenarios, but I couldn’t find the “pure basics”…
Thanks so much, and good to know that I’m not (yet) going blind
What is your opinion on deleting/emptying the “media” and “site/cache” folder after a deployment? Is it a good idea or rather useless?