Skip to content

Commit 917c1a2

Browse files
committed
Add .circleci/config.yml
1 parent 0f9b5dd commit 917c1a2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2.1
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/python:3.8.2
6+
steps:
7+
- checkout
8+
- run:
9+
name: Install requirements
10+
command: |
11+
python -m venv venv
12+
. venv/bin/activate
13+
pip install -r requirements.txt
14+
- run:
15+
name: Build preview
16+
command: |
17+
. venv/bin/activate
18+
mkdocs build --site-dir _site_preview
19+
- store_artifacts:
20+
path: _site_preview
21+

0 commit comments

Comments
 (0)