From b6c8959a287eede08697ba0c4a7c2bc9845ff41f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 21 May 2020 01:54:27 +0200 Subject: [PATCH] let's try this --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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''' } }