Skip to content

Commit cabbdd1

Browse files
committed
Add data cache to circleci.
1 parent 4f7d724 commit cabbdd1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
pip install --upgrade pip wheel setuptools
2020
pip install -r requirements.txt -r site/requirements.txt
2121
22+
- restore_cache:
23+
keys:
24+
- cache-data
25+
2226
- run:
2327
name: Build site
2428
command: |
@@ -27,6 +31,11 @@ jobs:
2731
# T = full tracebacks, keep-going = run to completion even with errors
2832
make -C site/ SPHINXOPTS="-nWT --keep-going" html
2933
34+
- save_cache:
35+
key: cache-data
36+
paths:
37+
- _data
38+
3039
- store_artifacts:
3140
path: site/_build/html
3241

0 commit comments

Comments
 (0)