Skip to content

Commit

Permalink
Update GitHub Actions and doc paths
Browse files Browse the repository at this point in the history
Updated the `actions/checkout` action from version 3 to version 4.
Updated the `actions/setup-dotnet` action from version 3 to version 4.
Changed the path for the `docfx` command from `Docs/docfx.json` to `Source/Docs/docfx.json`.
Updated the path for the `actions/upload-pages-artifact` action from `Docs/_site` to `Source/Docs/_site`.

These updates ensure compatibility with newer versions of the actions and reflect a change in the directory structure for the documentation files.
  • Loading branch information
kzdev-net committed Oct 12, 2024
1 parent f6af967 commit c164234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docfx-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- run: dotnet tool update -g docfx
- run: docfx Docs/docfx.json
- run: docfx Source/Docs/docfx.json

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire site directory
path: 'Docs/_site'
path: 'Source/Docs/_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit c164234

Please sign in to comment.