Skip to content

Commit 17314f7

Browse files
authored
Update CI-CD-Docs.yml
1 parent a0a0457 commit 17314f7

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/CI-CD-Docs.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ on:
1010

1111
env:
1212
VERSION: '1.0.0-beta-6'
13-
BRANCH: "master"
14-
COMMIT: ""
13+
BRANCH: 'master'
14+
COMMIT: ''
15+
DOCFX_SOURCE_BRANCH_NAME: 'master'
1516

1617
jobs:
1718
build:
@@ -24,10 +25,13 @@ jobs:
2425
uses: cschleiden/replace-tokens@v1
2526
with:
2627
files: '["docs/*.md", "docs/**/*.md", "*.csproj", "**/*.csproj"]'
27-
- uses: nikeee/docfx-action@master
28-
name: Build Documentation
28+
- uses: actions/setup-dotnet@v1
2929
with:
30-
args: docs/docfx.json
30+
dotnet-version: '3.1.101'
31+
- name: Building library and docs
32+
run: |
33+
dotnet build src/bunit.csproj
34+
dotnet build docs/docs.csproj
3135
- name: Deploy
3236
uses: JamesIves/github-pages-deploy-action@releases/v3
3337
with:

0 commit comments

Comments
 (0)