Skip to content

Merge pull request #25 from YudaiKitamura/YudaiKitamura-patch-1 #19

Merge pull request #25 from YudaiKitamura/YudaiKitamura-patch-1

Merge pull request #25 from YudaiKitamura/YudaiKitamura-patch-1 #19

Workflow file for this run

name: Deploy DocFX to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Install DocFX
run: |
dotnet tool update -g docfx
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
- name: Build Documentation
run: docfx docfx.json
working-directory: ./docfx
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docfx/_site