initial
This commit is contained in:
commit
7b9d778eb3
29 changed files with 4876 additions and 0 deletions
34
.github/workflows/build-and-publish.yml
vendored
Normal file
34
.github/workflows/build-and-publish.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: build and publish github pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout the code
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Install .NET Core SDK
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Install WASM-Tools
|
||||
run: dotnet workload install wasm-tools
|
||||
|
||||
# Publish the site
|
||||
- name: Publish
|
||||
run: dotnet publish -c:Release -o:publish -p:GHPages=true
|
||||
|
||||
# Deploy the site
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: publish/wwwroot
|
||||
force_orphan: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue