Skip to content

Merge pull request #29 from tomspilman/games1 #35

Merge pull request #29 from tomspilman/games1

Merge pull request #29 from tomspilman/games1 #35

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Restore Tools
run: dotnet tool restore
- name: Build
run: dotnet docfx docfx.json
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site
clean: true