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 5582829 commit 1ce7a40Copy full SHA for 1ce7a40
.github/workflows/publish-to-gh-pages.yml
@@ -0,0 +1,27 @@
1
+name: Publish To GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - feature/add-docfx
8
9
+jobs:
10
+ Deploy:
11
+ runs-on: windows-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
17
+ - name: Build DocFX
18
+ shell: pwsh
19
+ run: ./build.ps1 BuildDocs --unity-email $env:UNITY_EMAIL --unity-password $env:UNITY_PASSWORD --unity-serial $env:UNITY_SERIAL --is-ci
20
21
+ - name: Deploy to GitHub Pages
22
+ uses: crazy-max/ghaction-github-pages@v2
23
+ with:
24
+ target_branch: gh-pages
25
+ build_dir: Documentation/_site
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments