Fix typo #35
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: Deploy and publish documentation | |
on: | |
push: | |
paths: | |
- 'Documentation/**.md' | |
- 'Documentation/**.yml' | |
- 'BattleBitAPI.Addons.CommandHandler/**.**' | |
- 'BattleBitAPI.Addons.Common/**.**' | |
- 'BattleBitAPI.Addons.EventHandler/**.**' | |
workflow_dispatch: | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Dotnet Setup | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.x | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release --no-restore | |
- run: dotnet tool update -g docfx | |
- run: docfx Documentation/docfx.json | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.TOKEN }} | |
publish_dir: Documentation/_site |