fixed config error
This commit is contained in:
		@@ -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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user