File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,27 @@ jobs:
4141 docker :
4242 - image : node:8.11.3-alpine
4343 steps :
44+ - add_ssh_keys :
45+ fingerprints :
46+ - ' 44:93:5a:f4:2b:2d:c1:8a:f2:8e:8b:e9:27:5f:93:25'
4447 - checkout
4548 - run : apk --no-cache add ca-certificates
46- - restore_cache :
47- keys :
48- - npm-deps-{{ checksum "package.json" }}
4949 - run : apk --no-cache add git python build-base openssh
5050 # Publish to NPM
5151 - run : npm install -g npm-cli-login
5252 - run : npm-cli-login -u $NPM_USERNAME -p $NPM_PASSWORD -e $NPM_EMAIL
5353 - run : git checkout -f $CIRCLE_TAG
5454 # Set the version number
5555 - run : sed -i -E "s/0.0.0/$CIRCLE_TAG/" package.json
56- - run : npm install publish
56+ - run : npm install -g publish
5757 - run : npm run npmPublish
5858 # Update gh-pages demo site
5959 - run : git config --global user.email circleci@circleci
6060 - run : git config --global user.name CircleCI
6161 - run : rm -rf node_modules/
6262 - run : rm -rf tests/
6363 - run : git checkout gh-pages -f
64+ - run : ssh-keyscan github.com >> ~/.ssh/known_hosts
6465 - run : git pull
6566 - run : npm install
6667 - run : ./node_modules/.bin/gulp build
You can’t perform that action at this time.
0 commit comments