From e2aadee7b9f3578de794e031b22469bb1176da7c Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sat, 16 Apr 2022 03:39:40 -0500 Subject: [PATCH] Fixed demo not being published. --- Jenkinsfile | 2 +- webpack.common.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 119d320..b22b336 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,7 @@ pipeline{ 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 Demo', reportTitles: '']) + publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'dist', reportFiles: 'demo.html', reportName: 'AudioShowKit Demo', reportTitles: '']) } } } diff --git a/webpack.common.js b/webpack.common.js index ebf840f..fc4ed05 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -34,6 +34,7 @@ export default { plugins: [ new HtmlWebpackPlugin({ template: path.resolve("./src/demo/index.html"), + filename: "demo.html" }) ] }; \ No newline at end of file