ci: deploy style sheet if present

This commit is contained in:
fryorcraken.eth 2022-10-07 11:35:53 +11:00
parent d9c7d2a3aa
commit 101b302522
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 0 deletions

1
ci/Jenkinsfile vendored
View File

@ -80,4 +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}/"
}