chore: remove unused usings #75
This file contains hidden or 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: Build and Deploy Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET ⚙️ | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '8.0.x' # Use the .NET version your project uses | |
| - name: Install DocFX 🛠️ | |
| run: dotnet tool update -g docfx | |
| - name: Create index.md from README.md | |
| run: cp README.md index.md | |
| - name: Generate DocFx metadata | |
| run: docfx metadata docfx.json | |
| - name: Build Documentation 📖 | |
| run: docfx build docfx.json | |
| - name: Deploy 🚀 | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_site |