Merge PR #3832: changed docs build docker image and job commands
This commit is contained in:
parent
6f74095ce2
commit
6142f90612
|
@ -35,7 +35,7 @@ set_macos_env: &macos_env
|
|||
docs_update: &docs_deploy
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: tendermint/docs_deployment
|
||||
- image: tendermintdev/jq_curl
|
||||
environment:
|
||||
AWS_REGION: us-east-1
|
||||
|
||||
|
@ -280,7 +280,22 @@ jobs:
|
|||
- run:
|
||||
name: Trigger website build
|
||||
command: |
|
||||
chamber exec cosmos-sdk -- start_website_build
|
||||
curl --silent \
|
||||
--show-error \
|
||||
-X POST \
|
||||
--header "Content-Type: application/json" \
|
||||
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
|
||||
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json
|
||||
|
||||
RESULT=`jq -r '.status' response.json`
|
||||
MESSAGE=`jq -r '.message' response.json`
|
||||
|
||||
if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
|
||||
echo "CircleCI API call failed: $MESSAGE"
|
||||
exit 1
|
||||
else
|
||||
echo "Website build started"
|
||||
fi
|
||||
|
||||
macos_ci:
|
||||
<<: *macos_defaults
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
|
||||
### Tendermint
|
||||
|
||||
### CI/CD
|
||||
* [\198](https://github.com/cosmos/cosmos-sdk/pull/3832)
|
||||
|
||||
<!--------------------------------- BUG FIXES -------------------------------->
|
||||
|
||||
## BUG FIXES
|
||||
|
|
Loading…
Reference in New Issue