1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 20:58:34 +01:00

let's try this

This commit is contained in:
Ellpeck 2020-05-21 01:54:27 +02:00
parent e9d2b76b01
commit b6c8959a28

8
Jenkinsfile vendored
View file

@ -23,6 +23,9 @@ done'''
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 '''docfx.exe "Docs/docfx.json"
cp Docs/_site /var/www/MLEM/Docs/_site'''
}
} }
stage('Pack and Publish (Release)') { stage('Pack and Publish (Release)') {
@ -37,9 +40,8 @@ done'''
sh '''for i in **/*.nupkg; do sh '''for i in **/*.nupkg; do
dotnet nuget push -s https://api.nuget.org/v3/index.json $i -k $NUGET -n true dotnet nuget push -s https://api.nuget.org/v3/index.json $i -k $NUGET -n true
done''' done'''
sh '''cd /var/www/MLEM sh '''docfx.exe "Docs/docfx.json"
git pull cp Docs/_site /var/www/MLEM/Docs/_site'''
docfx "Docs/docfx.json"'''
} }
} }