Skip to content

Added InteractiveWebAssembly sample #15

Added InteractiveWebAssembly sample

Added InteractiveWebAssembly sample #15

Workflow file for this run

name: Deploy to GitHub Pages
# Run workflow on every push to the master branch
on:
push:
branches: [ master ]
jobs:
publish:
name: build and publish to Github Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Publish Website
run: dotnet publish MetaMask.Blazor.SampleApp -o publish/MetaMask.Blazor.SampleApp -c Release
# add .nojekyll file to tell GitHub pages to not treat this as a Jekyll project. (Allow files and folders starting with an underscore)
- name: Add .nojekyll file
run: touch publish/MetaMask.Blazor.SampleApp/wwwroot/.nojekyll
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: publish/MetaMask.Blazor.SampleApp/wwwroot