Skip to content

Commit 6df7147

Browse files
committed
Update gh-pages.yml
1 parent 8e7c2b3 commit 6df7147

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Your GitHub workflow file under .github/workflows/
2+
name: DocFX
23

4+
on:
5+
push:
6+
branches:
7+
- master
8+
39
jobs:
410
publish-docs:
511
runs-on: ubuntu-latest
@@ -14,6 +20,12 @@ jobs:
1420
- run: dotnet tool update -g docfx
1521
- run: docfx Docs/docfx.json
1622

23+
- name: Upload DocFX packages
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: docfx_site
27+
path: ${{ github.workspace }}/Docs/_site
28+
1729
- name: Deploy
1830
uses: peaceiris/actions-gh-pages@v3
1931
with:

0 commit comments

Comments
 (0)