ci: build css in wip/ branches (#78123)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e3e5b5990f
commit
ce199f46f2
|
@ -4,11 +4,14 @@ pipeline {
|
||||||
agent any
|
agent any
|
||||||
options { disableConcurrentBuilds() }
|
options { disableConcurrentBuilds() }
|
||||||
stages {
|
stages {
|
||||||
stage('Help Check') {
|
stage('Checks') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh '(cd help/fr/ && if [ $(yelp-build html *.page 2>&1 | wc -c) -ne 0 ]; then exit 1; fi)'
|
if (env.GIT_BRANCH.startsWith('wip/')) {
|
||||||
sh 'git clean -xdf'
|
sh 'make css'
|
||||||
|
}
|
||||||
|
sh '(cd help/fr/ && if [ $(yelp-build html *.page 2>&1 | wc -c) -ne 0 ]; then exit 1; fi)'
|
||||||
|
sh 'git clean -xdf'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue