While you apparently cannot use Liquid conditionals and environment variables (as in many other build scripts), you can make selective overrides using the second yml file:
$> bundle exec jekyll serve --drafts --incremental --config _config.yml,_dev.yml
with _dev.yml :
# overrides title in _config.yml title: "My Website (dev mode)"
Perhaps this suits your needs ...
source share