Docs upload fixes

This commit is contained in:
Jamie Curnow
2020-03-11 11:27:51 +10:00
parent c35b91b73b
commit b75ba6465c

4
Jenkinsfile vendored
View File

@@ -154,7 +154,7 @@ pipeline {
stage('Docs Deploy') { stage('Docs Deploy') {
when { when {
allOf { allOf {
branch 'develop' branch 'master'
not { not {
equals expected: 'UNSTABLE', actual: currentBuild.result equals expected: 'UNSTABLE', actual: currentBuild.result
} }
@@ -170,7 +170,7 @@ pipeline {
-v \$(pwd):/app \\ -v \$(pwd):/app \\
-w /app \\ -w /app \\
jc21/ci-tools \\ jc21/ci-tools \\
scripts/docs-upload /app/docs/.vuepress/dist scripts/docs-upload /app/docs/.vuepress/dist/
""" """
sh """docker run --rm \\ sh """docker run --rm \\