Fixed demo not being published.

This commit is contained in:
Harrison Deng 2022-04-16 03:39:40 -05:00
parent 6a15c0cc51
commit e2aadee7b9
2 changed files with 2 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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: ''])
}
}
}

View File

@ -34,6 +34,7 @@ export default {
plugins: [
new HtmlWebpackPlugin({
template: path.resolve("./src/demo/index.html"),
filename: "demo.html"
})
]
};