Skip to content

Commit c0854c7

Browse files
author
Emanuele Palazzetti
authored
[ci] update how docs are built (#408)
1 parent a853f1b commit c0854c7

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.circleci/config.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ jobs:
637637
- image: circleci/python:3.6
638638
steps:
639639
- checkout
640-
- run: pip install mkwheelhouse sphinx
640+
- run: sudo apt-get -y install rake
641+
- run: sudo pip install mkwheelhouse sphinx awscli
641642
- run: S3_DIR=trace-dev rake release:wheel
642643
- run: S3_DIR=trace-dev rake release:docs
643644

@@ -647,17 +648,18 @@ jobs:
647648
- image: circleci/python:3.6
648649
steps:
649650
- checkout
650-
- run: pip install mkwheelhouse sphinx
651+
- run: sudo apt-get -y install rake
652+
- run: sudo pip install mkwheelhouse sphinx awscli
651653
- run: S3_DIR=trace-dev rake release:wheel
652-
- run: S3_DIR=trace-dev rake release:docs
653654

654655
deploy_docs:
655656
# deploy official documentation
656657
docker:
657658
- image: circleci/python:3.6
658659
steps:
659660
- checkout
660-
- run: pip install mkwheelhouse sphinx
661+
- run: sudo apt-get -y install rake
662+
- run: sudo pip install mkwheelhouse sphinx awscli
661663
- run: S3_DIR=trace rake release:docs
662664

663665
wait_all_tests:
@@ -745,9 +747,6 @@ workflows:
745747
- redis
746748
- sqlite3
747749
- msgpack
748-
filters:
749-
tags:
750-
only: /v[0-9]+(\.[0-9]+)*/
751750
- deploy_dev:
752751
requires:
753752
- wait_all_tests
@@ -763,11 +762,11 @@ workflows:
763762
- deploy_docs:
764763
requires:
765764
- wait_all_tests
766-
type: approval
767765
filters:
768-
tags:
769-
only: /v[0-9]+(\.[0-9]+)*/
770-
# By default the job is run for all branches so we need to
771-
# explicitely ignore all branches
766+
# By default the job is available for a `release-vX.X.X`
767+
# version without manual approval. This simplifies a bit
768+
# the docs building.
769+
# NOTE: we may update this step so that a tag push with a
770+
# manual approval can trigger the documents building.
772771
branches:
773-
ignore: /.*/
772+
only: /release-v[0-9]+(\.[0-9]+)*/

0 commit comments

Comments
 (0)