Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Create docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Huvier committed Jul 29, 2023
1 parent 8ccefc9 commit 3213a8f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docs

on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]

jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3

- run: dotnet tool update -g docfx
- run: docfx docfx_project/docfx.json

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docfx_project/_site

0 comments on commit 3213a8f

Please sign in to comment.