1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01:00

only build the site on release

This commit is contained in:
Ellpeck 2020-05-21 02:19:00 +02:00
parent 610a91025b
commit 73cc3ff719

3
Jenkinsfile vendored
View file

@ -22,9 +22,6 @@ done'''
sh '''for i in **/*.nupkg; do sh '''for i in **/*.nupkg; do
dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true
done''' done'''
sh '''/opt/docfx/docfx.exe "Docs/docfx.json"
cp Docs/_site /var/www/MLEM/ -r'''
}
} }
stage('Pack and Publish (Release)') { stage('Pack and Publish (Release)') {