diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml new file mode 100644 index 0000000..3b98671 --- /dev/null +++ b/.github/workflows/docfx.yml @@ -0,0 +1,25 @@ +name: DocFX + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + - name: Install DocFX + run: | + curl -L https://github.com/dotnet/docfx/releases/latest/download/docfx.zip -o docfx.zip + unzip -d .docfx docfx.zip + - name: Build documentation + run: dotnet run .docfx/docfx.exe \ No newline at end of file