Skip to content

Commit

Permalink
CI: Drop build_docs; we use RTD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 13, 2023
1 parent e34d66e commit 87dc5d7
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,37 +58,6 @@ jobs:
flags: unittests


build_docs:
docker:
- image: cimg/python:3.12
auth:
username: $DOCKER_USER
password: $DOCKER_PAT

environment:
- FSLOUTPUTTYPE: NIFTI
- SUBJECTS_DIR: /tmp/subjects
steps:
- checkout
- run:
name: Create subjects folder
command: mkdir -p $SUBJECTS_DIR
- run:
name: Install deps
command: |
python -m pip install --no-cache-dir -U pip
- run:
name: Install Nireports
command: |
python -m pip install .[docs]
- run:
name: Build only this commit
command: |
BRANCH=$( echo $CIRCLE_BRANCH | sed 's+/+_+g' )
make -C docs SPHINXOPTS="-W" BUILDDIR="/tmp/docs" OUTDIR=${CIRCLE_TAG:-$BRANCH} html
- store_artifacts:
path: /tmp/docs

workflows:
version: 2
build_test_deploy:
Expand All @@ -102,11 +71,3 @@ workflows:
branches:
ignore:
- /docs?\/.*/

- build_docs:
filters:
branches:
ignore:
- /tests?\/.*/
tags:
only: /.*/

0 comments on commit 87dc5d7

Please sign in to comment.