mirror of https://github.com/waku-org/js-waku.git
Need to build examples before deploying
This commit is contained in:
parent
9a65f9348e
commit
df367d265f
|
@ -58,6 +58,7 @@ def buildExample(example=STAGE_NAME) {
|
|||
def dest = "${WORKSPACE}/build/docs/examples/${example}"
|
||||
dir("examples/${example}") {
|
||||
sh 'npm install'
|
||||
sh 'npm run build'
|
||||
sh "mkdir -p ${dest}"
|
||||
sh "cp -r build/. ${dest}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue