hyperctl version 0.17.0 adds support for overriding site.config.content_dir , site.config.data_dir , site.config.static_dir , and site.config.theme from command flags and/or environment variables. These changes make it possible to build multiple versions of a site from the same commit without needing to modify site.yaml or site.json . See the hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands for more information.
Version 0.17.0 is available to download now:
Changelog
- Added support for overriding
site.config.content_dir,site.config.data_dir,site.config.static_dir, andsite.config.themefrom command flags and/or environment variables. - Added
--content-dirflag tohyperctl build,hyperctl deploy,hyperctl generate,hyperctl publish, andhyperctl servercommands - Added
--data-dirflag tohyperctl build,hyperctl deploy,hyperctl generate,hyperctl publish, andhyperctl servercommands - Added
--static-dirflag tohyperctl build,hyperctl deploy,hyperctl generate,hyperctl publish, andhyperctl servercommands - Added
--themeflag tohyperctl build,hyperctl deploy,hyperctl generate,hyperctl publish, andhyperctl servercommands - Added
Server.WebsiteConfigfield for storing configuration overrides - Changed
Website.Load()processing order sowebsite.ResolveConfig()is called beforewebsite.Theme.Parse() - Changed
Website.Load()to accept aWebsiteConfigargument for configuration overrides - Changed
Website.ResolveConfig()to accept aWebsiteConfigargument for configuration overrides - Changed
WebsiteConfig.Resolve()to accept aWebsiteConfigargument for configuration overrides - Changed
HyperBuild.Execute()to accept aWebsiteConfigargument for configuration overrides