Put commands back in place
This commit is contained in:
parent
1dd0a4f825
commit
ba979499ce
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -21,6 +21,14 @@ pipeline {
|
|||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'dart pub publish -f --skip-validation'
|
||||
sh 'git clone git@github.com:ariascreations/ServerCode'
|
||||
sh 'rsync -a --progress -h --delete doc/api/ ServerCode/api.zontreck.com/dartdocs/libac/'
|
||||
dir('ServerCode') {
|
||||
sh 'git add --all .'
|
||||
sh 'git commit -m "[BOT] Publish LibAC DartDocs"'
|
||||
sh 'git push --all'
|
||||
}
|
||||
sh 'rm -rf ServerCode'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue