Skip to content

Merge pull request #340 from Blazor-Diagrams/develop #59

Merge pull request #340 from Blazor-Diagrams/develop

Merge pull request #340 from Blazor-Diagrams/develop #59

Workflow file for this run

name: DeployDemoToGitHubPages
env:
PUBLISH_DIR: samples/Wasm/bin/Release/netstandard2.1/publish/wwwroot
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish app
run: cd site/Site && dotnet publish -c Release
- name: GitHub Pages
if: success()
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: ${{ env.PUBLISH_DIR }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}