Skip to content

Commit

Permalink
[chain] Add build and build:install chain examples. (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Mar 6, 2018
1 parent 086865c commit af8b3e4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dist/chain/build-install.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions dist/chain/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
command:
name: build
description: 'Build site'
commands:
# Import configuration
- command: config:import
# Rebuild caches.
- command: cache:rebuild
arguments:
cache: all

0 comments on commit af8b3e4

Please sign in to comment.