Skip to content

Commit 7c2db14

Browse files
authored
Merge pull request #523 from INCF/circle-ci-deployment-includes-githubPagesTest
fix circle ci tag filter and deployment steps
2 parents 307b4b2 + c245fe4 commit 7c2db14

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

circle.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)