-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from agencyenterprise/build_docs_on_circle_ci
Build docs on circle ci
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Tagging a commit with [circle front] will build the front page and perform tests-doc. | ||
# Tagging a commit with [circle full] will build everything. | ||
version: 2.1 | ||
|
||
jobs: | ||
build_docs: | ||
docker: | ||
- image: cimg/python:3.10.10 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install the latest version of Poetry | ||
command: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
poetry install --no-ansi | ||
- run: | ||
name: Install stride | ||
command: | | ||
poetry run pip install git+https://github.com/trustimaging/stride | ||
- run: | ||
name: Build HTML | ||
command: | | ||
make docs | ||
- store_artifacts: | ||
path: site/ | ||
destination: html | ||
|
||
workflows: | ||
version: 2 | ||
|
||
default: | ||
jobs: | ||
- build_docs |