Skip to content

Build and Deploy

Build and Deploy #94

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- master
workflow_run:
workflows: ["Update submodules"]
branches: [master]
types:
- completed
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: true
- name: Install and Build 🔧
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.417'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- run: |
dotnet --version
dotnet --list-runtimes
./install.ps1
./build.ps1
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build