This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
upd - Go back to nunit/docfx-action@master #24
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: KS API Documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: "Make API Reference" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Fetching the KS source | |
- uses: "nunit/docfx-action@master" | |
name: Generating documentation | |
with: | |
args: DocGen/docfx.json | |
- name: Saving changes to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
commit_message: "Updated documentation to reflect latest changes" | |
personal_token: ${{ secrets.DOCGEN_TOKEN }} | |
publish_dir: ./docs/ | |
publish_branch: gh-pages |