-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 1.03 KB
/
dotnet-web.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: gh-pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.*
- name: install wasm tools
run: dotnet workload install wasm-tools
- name: install wasm tools experimental
run: dotnet workload install wasi-experimental
- name: build
run: dotnet build --configuration Debug --output src/MimaSim/MimaSim.Browser/build src/MimaSim/MimaSim.Browser/MimaSim.Browser.csproj
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: main # The branch the action should deploy from.
BRANCH: gh-pages-from-actions # The branch the action should deploy to.
FOLDER: src/MimaSim/MimaSim.Browser/build/AppBundle/
SINGLE_COMMIT: true