Update ci to net8.0 #91
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: site | |
on: | |
push: | |
paths-ignore: | |
- 'src/**' | |
- 'img/**' | |
- '*.md' | |
- '*.txt' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install .NET 7.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Build web site | |
run: | | |
dotnet tool install --global lunet --version "0.5.*" | |
lunet --input-dir site build | |
- name: Deploy web site | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site/.lunet/build/www |