Skip to content

Increase version number to 2.0.2 #42

Increase version number to 2.0.2

Increase version number to 2.0.2 #42

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- main
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Chekout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- uses: nuget/setup-nuget@v1
name: Nuget Setup
- name: Nuget Restore
run: nuget restore ECCLibrary/ECCLibrary.sln
- name: Build Project
run: dotnet build ECCLibrary/ECCLibrary.sln
- name: Install DocFX
run: dotnet tool update -g docfx
- name: Build documentation
run: docfx ECCLibrary/Documentation/docfx.json
- name: Build documentation x2
run: docfx ECCLibrary/Documentation/docfx.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ECCLibrary/_site