Skip to content

3.1.1

3.1.1 #6

Workflow file for this run

name: Documentation
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup .Net Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Install Dependencies
run: dotnet restore
- name: Build
working-directory: ./smartsheet-csharp-sdk-docs
run: dotnet build --configuration Release --no-restore
- uses: nikeee/docfx-action@v1.0.0
name: Build Documentation
with:
args: smartsheet-csharp-sdk-docs/docfx.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./smartsheet-csharp-sdk-docs/_site