fixed config error
This commit is contained in:
parent
f5b9473e08
commit
8de9f67e39
@ -27,7 +27,17 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
command: yarn build-datatable
|
command: yarn build-datatable
|
||||||
|
|
||||||
- save_cahce:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- dist/ng-datatable
|
- dist/ng-datatable
|
||||||
key: v1-dist-{{ .Environment.CIRCLE_BRANCH }}-{{ .Environment.CIRCLE_SHA1 }}
|
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
|
Loading…
Reference in New Issue
Block a user