diff --git a/Jenkinsfile b/Jenkinsfile index 2ab8d0a..243ffb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,9 @@ done''' dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true done''' } + sh '''docfx.exe "Docs/docfx.json" +cp Docs/_site /var/www/MLEM/Docs/_site''' + } } stage('Pack and Publish (Release)') { @@ -37,9 +40,8 @@ done''' sh '''for i in **/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json $i -k $NUGET -n true done''' - sh '''cd /var/www/MLEM -git pull -docfx "Docs/docfx.json"''' + sh '''docfx.exe "Docs/docfx.json" +cp Docs/_site /var/www/MLEM/Docs/_site''' } }