ci: do not fail if no style.css file
This commit is contained in:
parent
bdc6e9cb93
commit
742a4245fe
|
@ -80,5 +80,5 @@ def buildExample(example=STAGE_NAME) {
|
||||||
def copyExample(example=STAGE_NAME) {
|
def copyExample(example=STAGE_NAME) {
|
||||||
sh "mkdir -p build/docs/${example}"
|
sh "mkdir -p build/docs/${example}"
|
||||||
sh "cp ${example}/index.html build/docs/${example}/"
|
sh "cp ${example}/index.html build/docs/${example}/"
|
||||||
sh "[ -f ${example}/style.css ] && cp ${example}/style.css build/docs/${example}/"
|
sh "[ -f ${example}/style.css ] && cp ${example}/style.css build/docs/${example}/ || exit 0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue