Merge pull request #184 from waku-org/weboko/improve-ci
fix: copy json and image files in CI for examples
This commit is contained in:
commit
718f545ebc
|
@ -100,4 +100,22 @@ def copyExample(example=STAGE_NAME) {
|
|||
} catch (e) {
|
||||
echo "No HTML files found."
|
||||
}
|
||||
|
||||
try {
|
||||
sh "cp ${source}/*.json ${dest}/"
|
||||
} catch (e) {
|
||||
echo "No JSON files found."
|
||||
}
|
||||
|
||||
try {
|
||||
sh "cp ${source}/*.png ${dest}/"
|
||||
} catch (e) {
|
||||
echo "No PNG files found."
|
||||
}
|
||||
|
||||
try {
|
||||
sh "cp ${source}/*.ico ${dest}/"
|
||||
} catch (e) {
|
||||
echo "No ICO files found."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue