mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:05:42 +00:00
[ci skip] [github actions] Update DocFx job
This commit is contained in:
parent
a566058837
commit
03b345325b
24
.github/workflows/docfx.yml
vendored
24
.github/workflows/docfx.yml
vendored
@ -7,19 +7,17 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
docfx:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: Publish Documentation
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1
|
||||||
- name: Setup .NET Core
|
- uses: nikeee/docfx-action@v1.0.0
|
||||||
uses: actions/setup-dotnet@v1
|
name: Build Documentation
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.101
|
args: docfx_project/docfx.json
|
||||||
- name: Install DocFX
|
- uses: maxheld83/ghpages@master
|
||||||
run: |
|
name: Publish Documentation on GitHub Pages
|
||||||
curl -L https://github.com/dotnet/docfx/releases/latest/download/docfx.zip -o docfx.zip
|
env:
|
||||||
unzip -d .docfx docfx.zip
|
BUILD_DIR: _site
|
||||||
- name: Build documentation
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
run: dotnet run .docfx/docfx.exe --project X10D.sln
|
|
||||||
|
Loading…
Reference in New Issue
Block a user