Fixed demo not being published.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -33,7 +33,7 @@ pipeline{
 | 
				
			|||||||
                    sh "npm run docs"
 | 
					                    sh "npm run docs"
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
 | 
					                publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
 | 
				
			||||||
                publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit Demo', reportTitles: ''])
 | 
					                publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'dist', reportFiles: 'demo.html', reportName: 'AudioShowKit Demo', reportTitles: ''])
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,7 @@ export default {
 | 
				
			|||||||
    plugins: [
 | 
					    plugins: [
 | 
				
			||||||
        new HtmlWebpackPlugin({
 | 
					        new HtmlWebpackPlugin({
 | 
				
			||||||
            template: path.resolve("./src/demo/index.html"),
 | 
					            template: path.resolve("./src/demo/index.html"),
 | 
				
			||||||
 | 
					            filename: "demo.html"
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
		Reference in New Issue
	
	Block a user