Skip to content

Commit

Permalink
changed docs deployment to trigger on every push to master/develop (#…
Browse files Browse the repository at this point in the history
…2962)

* changed docs deployment to trigger on every push to master/develop

* updated PENDING.md
  • Loading branch information
mircea-c committed Dec 5, 2018
1 parent a5f1b1a commit c2e6a6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,19 +269,18 @@ jobs:
- run:
name: Trigger website build
command: |
export LAST_COMMIT=`git rev-parse HEAD`
export DOCS_COMMIT=`git log -1 --format=format:%H --full-diff docs`
if [[ $DOCS_COMMIT == $LAST_COMMIT ]]; then
chamber exec cosmos-sdk -- start_website_build
else
echo "No changes to docs detected"
fi
chamber exec cosmos-sdk -- start_website_build
workflows:
version: 2
test-suite:
jobs:
- deploy_docs
- deploy_docs:
filters:
branches:
only:
- master
- develop
- setup_dependencies
- lint:
requires:
Expand Down
2 changes: 1 addition & 1 deletion PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BREAKING CHANGES
* [cli] [\#2595](https://github.com/cosmos/cosmos-sdk/issues/2595) Remove `keys new` in favor of `keys add` incorporating existing functionality with addition of key recovery functionality.

* Gaia

- [#128](https://github.com/tendermint/devops/issues/128) Updated CircleCI job to trigger website build on every push to master/develop.
* SDK

* Tendermint
Expand Down

0 comments on commit c2e6a6e

Please sign in to comment.