Skip to content

Add number parser (#39) #52

Add number parser (#39)

Add number parser (#39) #52

Workflow file for this run

name: .NET Docs
on:
push:
branches:
- master
release:
types:
- published
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.301
- name: Install DocFX
run: dotnet tool install -g docfx
continue-on-error: true
- name: Build documentation
run: dotnet build && docfx InnerTube.Docs/docfx.json && cd InnerTube.Docs/ && dotnet run && cd ../../
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
with:
# Path of the directory containing the static assets.
path: ./InnerTube.Docs/_site/ # default is _site/
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1