Skip to content

Commit

Permalink
Switch to npx instead of digging into npm bin location
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyrb committed Nov 15, 2019
1 parent 9037770 commit 9a626a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/build-and-publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ echo "Done generating documentation output"
echo 'STARTING PUBLISH'

# WILL ALWAYS FAIL IF INITIATED FROM PR BRANCH
./node_modules/.bin/gh-pages \
npx gh-pages \
--silent \
--repo https://$GITHUB_TOKEN@github.com/OHIF/Viewers.git \
--message 'Autogenerated Message: [ci skip]' \
Expand Down
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ jobs:
name: Build and push Docker image
command: |
# This file will exist if a new version was published by
# our `semantic-release` command in the previous job
# our command in the previous job. Created in npm postpublish hook
# in the `platform/viewer` project.
if [[ ! -e platform/viewer/success_version.txt ]]; then
exit 0
else
Expand Down

0 comments on commit 9a626a2

Please sign in to comment.