Skip to content

Build and Deploy

Build and Deploy #117

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: ubuntu-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: '3.1.x'
- run: |
bash ./build.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build