Merge pull request #884 from Cysharp/feature/HandleUnimplementedHubMe… #401
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run-docfx: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: Cysharp/DocfxTemplate | |
path: docs/_DocfxTemplate | |
- uses: Kirbyrawr/docfx-action@master | |
name: Docfx metadata | |
with: | |
args: metadata docs/docfx.json | |
- uses: Kirbyrawr/docfx-action@master | |
name: Docfx build | |
with: | |
args: build docs/docfx.json | |
- name: Publish to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/_site |