Skip to content

Commit a2b45bc

Browse files
committed
ci (ci): update docfx output handling in workflow
Removes unused output variable and sets explicit docfx config path. Simplifies artifact upload by using a fixed output directory.
1 parent a40da37 commit a2b45bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
needs: [version]
4242
runs-on: ubuntu-latest
4343
outputs:
44-
docfx-path: ${{ steps.docfx.outputs.output-path }}
4544
should-deploy-docs: ${{ env.IS_MAIN_BRANCH == 'true' || env.FORCE_RELEASE == 'true' }}
4645

4746
steps:
@@ -55,13 +54,14 @@ jobs:
5554
id: docfx
5655
uses: ./dotnet-docfx-build
5756
with:
57+
config: 'docfx.json'
5858
output: 'output/docs/site'
5959
show-summary: 'true'
6060

6161
- name: '📤 Upload GitHub Pages Artifact'
6262
uses: actions/upload-pages-artifact@v3
6363
with:
64-
path: ${{ steps.docfx.outputs.output-path }}
64+
path: 'output/docs/site'
6565

6666
deploy-pages:
6767
name: '🌐 Deploy to GitHub Pages'

0 commit comments

Comments
 (0)