Skip to content

Merge branch 'master' of https://github.com/slaveOftime/Fun.Blazor #370

Merge branch 'master' of https://github.com/slaveOftime/Fun.Blazor

Merge branch 'master' of https://github.com/slaveOftime/Fun.Blazor #370

name: Deploy to GitHub Pages
on:
push:
branches:
- master
paths:
- 'Docs/**/*.*'
- 'Fun.Blazor*/**/*.*'
- "build.fsx"
# release:
# types: [published]
jobs:
deploy-to-github-pages:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Run build.fsx
run: dotnet fsi build.fsx -- -p docs
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GH_PAGES_PAT }}
branch: gh-pages
folder: Fun.Blazor.Docs.Wasm.Release/wwwroot
repository-name: slaveOftime/Fun.Blazor.Docs