Skip to content

Commit

Permalink
Merge pull request #13 from agencyenterprise/build_docs_on_circle_ci
Browse files Browse the repository at this point in the history
Build docs on circle ci
  • Loading branch information
NewtonSander authored May 4, 2023
2 parents b15157e + 121a7ee commit 453513b
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .circleci/config.yml
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

0 comments on commit 453513b

Please sign in to comment.