We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2515114 commit 59233a0Copy full SHA for 59233a0
default.ps1
@@ -180,4 +180,21 @@ task test {
180
} finally {
181
Pop-Location
182
}
183
+}
184
+
185
+task publishWebsite {
186
+ exec { git checkout gh-pages }
187
+ exec { git rm -r . }
188
+ exec { git checkout HEAD -- .gitignore }
189
+ exec { git add . }
190
+ exec { git commit -m "Remove" }
191
+ exec { git checkout master }
192
+ exec { docfx ./docs/docfx.json }
193
+ exec { Copy-item -Force -Recurse -Verbose "./docs/_site/*" -Destination "." }
194
+ exec { git checkout gh-pages --merge }
195
196
+ exec { git commit -m "Update Documentation" }
197
+ exec { git rebase -i HEAD~2 }
198
+ exec { git push origin gh-pages }
199
200
0 commit comments