Skip to content

Commit

Permalink
Fixed exit code propblem that caused the build to fail (usnistgov#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored Jun 5, 2019
1 parent 1c7f1d6 commit b83755a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ jobs: # a collection of
git add -f --all content
# check for changes
echo "Changed files:"
git diff --exit-code --name-only HEAD~1 xml json content
if [ $? -ne 0 ]; then
if ! $(git diff --exit-code --name-only HEAD~1 xml json content); then
# Only deploy if something relevant has changed
# Setup deployment
git config user.name "Deployment Bot"
Expand Down

0 comments on commit b83755a

Please sign in to comment.