fixed config error

This commit is contained in:
Zakary Timson 2018-06-18 16:58:58 -04:00
parent f5b9473e08
commit 8de9f67e39

View File

@ -27,7 +27,17 @@ jobs:
name: Build
command: yarn build-datatable
- save_cahce:
- save_cache:
paths:
- dist/ng-datatable
key: v1-dist-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Publish
command:
if ["${CIRCLE_BRANCH}" === "production"]; then
cd dist/ng-datatable
npm publish
else
echo "Only the production branch is published"
fi