diff --git a/Jenkinsfile b/Jenkinsfile index 6d30b38..cb1a0df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,8 +35,8 @@ pipeline { stage('Publish') { steps { - bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release -r linux-x64 --self-contained false -o publish' - bat 'dir publish\\wwwroot /s /b 2>nul | findstr /i "css\\|site.css\\|manifest.json\\|tag-input" || echo [WARN] wwwroot appears empty or missing' + bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release --self-contained false -o publish' + bat 'xcopy /E /Y /I src\\PowderCoating.Web\\wwwroot publish\\wwwroot\\' } }