Skip to content
Matej Simek edited this page Apr 5, 2017 · 1 revision

Common builder core

How-To

  1. Implement a payload contruction in the theme/functions.php file:
function mango_deploy_getDataset() {
	return [
		'templates' => [
			'src/templates/*.jade',
		],
		'data' => [
			'site' => mango_expandPaths(get_option('site_settings')),
		],
	];
}
  1. Fill in configuration paremeters:builder options
parameters:
	builder:
		url:
		remote:
		revision:
		mango-cli:
		aws:
			bucket:
			key:
			secret:
			subfolder:
  1. Test it and profit
Clone this wiki locally