Skip to content

Commit af8b3e4

Browse files
authored
[chain] Add build and build:install chain examples. (#331)
1 parent 086865c commit af8b3e4

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

dist/chain/build-install.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
command:
2+
name: build:install
3+
description: 'Build site by installing and importing configuration'
4+
commands:
5+
# Install site
6+
- command: site:install
7+
options:
8+
force: true
9+
no-interaction: true
10+
arguments:
11+
profile: standard
12+
# Import configuration
13+
- command: build

dist/chain/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
command:
2+
name: build
3+
description: 'Build site'
4+
commands:
5+
# Import configuration
6+
- command: config:import
7+
# Rebuild caches.
8+
- command: cache:rebuild
9+
arguments:
10+
cache: all

0 commit comments

Comments
 (0)