Skip to content

Commit

Permalink
Generate documenation badge
Browse files Browse the repository at this point in the history
  • Loading branch information
kabili207 committed Jan 8, 2019
1 parent c4e8eae commit 364e5be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ after_test:
nuget install EWSoftware.SHFB.NETFramework;
msbuild ZoraSharp.shfbproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=$env:CONFIGURATION;
7z a -tzip api_doc.zip $env:APPVEYOR_BUILD_FOLDER\doc\api-doc\*;
Invoke-WebRequest -Uri "https://img.shields.io/badge/docs-$($env:APPVEYOR_REPO_TAG_NAME)-blue.svg" -OutFile $env:APPVEYOR_BUILD_FOLDER\doc\api-doc\badge.svg;
git -C doc add api-doc;
git -C doc commit -m "Update API documentation for $($env:APPVEYOR_TAG_NAME)";
git -C doc commit -m "Update API documentation for $($env:APPVEYOR_REPO_TAG_NAME)";
git -C doc push -q origin gh-pages;
}
Expand Down

0 comments on commit 364e5be

Please sign in to comment.