circleci: add a job to automatically update docs (#3005)

This commit is contained in:
mircea-c 2018-12-12 04:48:53 -05:00 committed by Anton Kaliaev
parent bc2a9b20c0
commit f7e463f6d3
2 changed files with 23 additions and 0 deletions

View File

@ -7,6 +7,13 @@ defaults: &defaults
environment: environment:
GOBIN: /tmp/workspace/bin GOBIN: /tmp/workspace/bin
docs_update_config: &docs_update_config
working_directory: ~/repo
docker:
- image: tendermint/docs_deployment
environment:
AWS_REGION: us-east-1
jobs: jobs:
setup_dependencies: setup_dependencies:
<<: *defaults <<: *defaults
@ -339,10 +346,25 @@ jobs:
name: upload name: upload
command: bash .circleci/codecov.sh -f coverage.txt command: bash .circleci/codecov.sh -f coverage.txt
deploy_docs:
<<: *docs_update_config
steps:
- checkout
- run:
name: Trigger website build
command: |
chamber exec tendermint -- start_website_build
workflows: workflows:
version: 2 version: 2
test-suite: test-suite:
jobs: jobs:
- deploy_docs:
filters:
branches:
only:
- master
- develop
- setup_dependencies - setup_dependencies
- lint: - lint:
requires: requires:

View File

@ -20,6 +20,7 @@ Special thanks to external contributors on this release:
### IMPROVEMENTS: ### IMPROVEMENTS:
- [rpc] Add `UnconfirmedTxs(limit)` and `NumUnconfirmedTxs()` methods to HTTP/Local clients (@danil-lashin) - [rpc] Add `UnconfirmedTxs(limit)` and `NumUnconfirmedTxs()` methods to HTTP/Local clients (@danil-lashin)
- [ci/cd] Updated CircleCI job to trigger website build when docs are updated
### BUG FIXES: ### BUG FIXES:
- [kv indexer] \#2912 don't ignore key when executing CONTAINS - [kv indexer] \#2912 don't ignore key when executing CONTAINS