Put commands back in place

This commit is contained in:
zontreck 2024-07-09 00:11:27 -07:00
parent 1dd0a4f825
commit ba979499ce

8
Jenkinsfile vendored
View file

@ -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'
}
}
}