diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0e0c66e..1d42f6c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,35 @@ env: DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: + + ################################################### + # DOCS + ################################################### + + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.301' # SDK Version to use. + + - name: Build + shell: bash + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + cd docs + dotnet run --configuration Release + + ################################################### + # BUILD + ################################################### + build: name: Build if: "!contains(github.event.head_commit.message, 'skip-ci')" diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 4a79911..9ca3cd0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -7,6 +7,11 @@ on: - 'src/**' jobs: + + ################################################### + # DOCS + ################################################### + build: name: Deploy runs-on: windows-latest diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f80e82f..4b9f6b4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,12 +15,37 @@ env: jobs: + ################################################### + # DOCS + ################################################### + + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '3.1.301' # SDK Version to use. + + - name: Build + shell: bash + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + cd docs + dotnet run --configuration Release + ################################################### # BUILD ################################################### build: name: Build + needs: [docs] if: "!contains(github.event.head_commit.message, 'skip-ci') || startsWith(github.ref, 'refs/tags/')" strategy: matrix: