ci: do not fail if no style.css file

This commit is contained in:
fryorcraken.eth 2022-10-07 11:41:59 +11:00
parent bdc6e9cb93
commit 742a4245fe
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 1 deletions

2
ci/Jenkinsfile vendored
View File

@ -80,5 +80,5 @@ def buildExample(example=STAGE_NAME) {
def copyExample(example=STAGE_NAME) {
sh "mkdir -p 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"
}