File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -121,3 +121,26 @@ jobs:
121121 environmentVariables :
122122 CMAKE_OPTIONS : -G"MinGW Makefiles"
123123 PATH : $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
124+
125+ - job : documentation
126+ displayName : ' Generate Documentation'
127+ pool :
128+ vmImage : ' Ubuntu 16.04'
129+ steps :
130+ - script : |
131+ git config user.name 'Documentation Generation'
132+ git config user.email 'noreply@libgit2.org'
133+ docker run --rm -v /home/vsts/work/1/s:/src -w /src libgit2/docurium:test cm doc api.docurium
134+ git checkout gh-pages
135+ cp -R * '$(Build.BinariesDirectory)'
136+ - task : archivefiles@2
137+ displayName : ' Archive Documentation'
138+ inputs :
139+ rootFolderOrFile : ' $(Build.BinariesDirectory)'
140+ includeRootFolder : false
141+ archiveFile : ' $(Build.ArtifactStagingDirectory)/api-documentation.zip'
142+ - task : publishbuildartifacts@1
143+ displayName : ' Upload Documentation'
144+ inputs :
145+ pathToPublish : ' $(Build.ArtifactStagingDirectory)'
146+ artifactName : ' docs'
You can’t perform that action at this time.
0 commit comments