Skip to content

Commit a03b415

Browse files
author
Emanuele Palazzetti
authored
[ci] update CircleCI config (#407)
* [ci] update CircleCI config
1 parent b7f4d5b commit a03b415

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.circleci/config.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ jobs:
639639
- checkout
640640
- run: pip install mkwheelhouse sphinx
641641
- run: S3_DIR=trace-dev rake release:wheel
642+
- run: S3_DIR=trace-dev rake release:docs
642643

643644
deploy_experimental:
644645
# build the develop branch releasing development docs
@@ -650,14 +651,14 @@ jobs:
650651
- run: S3_DIR=trace-dev rake release:wheel
651652
- run: S3_DIR=trace-dev rake release:docs
652653

653-
deploy_unstable:
654-
# nullify VERSION_SUFFIX to deploy the package with its public version
654+
deploy_docs:
655+
# deploy official documentation
655656
docker:
656657
- image: circleci/python:3.6
657658
steps:
658659
- checkout
659660
- run: pip install mkwheelhouse sphinx
660-
- run: S3_DIR=trace-dev rake release:wheel
661+
- run: S3_DIR=trace rake release:docs
661662

662663
wait_all_tests:
663664
# this step ensures all `tox` environments are properly executed
@@ -744,21 +745,22 @@ workflows:
744745
- redis
745746
- sqlite3
746747
- msgpack
748+
filters:
749+
tags:
750+
only: /v[0-9]+(\.[0-9]+)*/
747751
- deploy_dev:
748752
requires:
749753
- wait_all_tests
750-
type: approval
751754
filters:
752755
branches:
753756
only: /(master)/
754757
- deploy_experimental:
755758
requires:
756759
- wait_all_tests
757-
type: approval
758760
filters:
759761
branches:
760762
only: /(develop)/
761-
- deploy_unstable:
763+
- deploy_docs:
762764
requires:
763765
- wait_all_tests
764766
type: approval

0 commit comments

Comments
 (0)