ci: deploy style sheet if present
This commit is contained in:
parent
d9c7d2a3aa
commit
101b302522
|
@ -80,4 +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}/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue