Auto deploy fix?

This commit is contained in:
Zakary Timson 2018-06-26 14:51:11 -04:00
parent 60685b48af
commit 6bd1a996ae

View File

@ -27,11 +27,13 @@ jobs:
name: Build name: Build
command: yarn build-datatable command: yarn build-datatable
- run: - store_artifacts:
name: Publish path: dist/ng-datatable
- deploy:
command: | command: |
echo "${CIRCLE_BRANCH}" echo "${CIRCLE_BRANCH}"
if ["${CIRCLE_BRANCH}" === "production"]; then if [ "${CIRCLE_BRANCH}" == "production" ]; then
cp README.md dist/ng-datatable/ cp README.md dist/ng-datatable/
cp LICENSE dist/ng-datatable/ cp LICENSE dist/ng-datatable/
cd dist/ng-datatable cd dist/ng-datatable