29 lines
No EOL
717 B
Groovy
29 lines
No EOL
717 B
Groovy
pipeline {
|
|
agent linux
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
dart doc
|
|
}
|
|
}
|
|
steps('Test') {
|
|
steps {
|
|
dart test
|
|
}
|
|
}
|
|
steps('Deploy') {
|
|
steps {
|
|
dart pub publish
|
|
git clone git@github.com:ariascreations/ServerCode
|
|
rsync -a --progress -h --delete doc/api/ ServerCode/api.zontreck.com/dartdocs/libac/
|
|
cd ServerCode
|
|
git add --all .
|
|
git commit -m "[BOT] Publish LibAC DartDocs"
|
|
git push --all
|
|
cd ..
|
|
rm -rf ServerCode
|
|
}
|
|
}
|
|
}
|
|
} |