Skip to content

Merge pull request #57 from AristurtleDev/community-link-footer #54

Merge pull request #57 from AristurtleDev/community-link-footer

Merge pull request #57 from AristurtleDev/community-link-footer #54

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 NPM Packages
run: npm install
- name: Build DocFX MetaData
run: npm run docfx
- name: Build Site
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site
clean: true