To help with CI/CD git deployments, how would I implement environment variables for things like the content folder? For instance, on the server, I have the content
folder location written in the index.php
file like this:
$kirby = new Kirby([
'roots' => [
'content' => '/home/git/Dropbox/jfi-pw/content'
]
]);
but on my local instance, that should be written as:
$kirby = new Kirby([
'roots' => [
'content' => '~/Dropbox (Partner & Partners)/jfi-pw/content'
]
]);
any easy way to do this?