From af8b3e42d225a2782f14163aafdeebbc486fd3e5 Mon Sep 17 00:00:00 2001 From: Jesus Manuel Olivas Date: Tue, 6 Mar 2018 13:34:03 -0800 Subject: [PATCH] [chain] Add build and build:install chain examples. (#331) --- dist/chain/build-install.yml | 13 +++++++++++++ dist/chain/build.yml | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 dist/chain/build-install.yml create mode 100644 dist/chain/build.yml diff --git a/dist/chain/build-install.yml b/dist/chain/build-install.yml new file mode 100644 index 0000000..162cee7 --- /dev/null +++ b/dist/chain/build-install.yml @@ -0,0 +1,13 @@ +command: + name: build:install + description: 'Build site by installing and importing configuration' +commands: + # Install site + - command: site:install + options: + force: true + no-interaction: true + arguments: + profile: standard + # Import configuration + - command: build diff --git a/dist/chain/build.yml b/dist/chain/build.yml new file mode 100644 index 0000000..0647d76 --- /dev/null +++ b/dist/chain/build.yml @@ -0,0 +1,10 @@ +command: + name: build + description: 'Build site' +commands: + # Import configuration + - command: config:import + # Rebuild caches. + - command: cache:rebuild + arguments: + cache: all