Skip to content

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

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

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

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/github-pages-deploy-action@v4.2.3
with:
token: ${{ secrets.GH_PAGES_PAT }}
branch: gh-pages
folder: Fun.Blazor.Docs.Wasm.Release/wwwroot
repository-name: slaveOftime/Fun.Blazor.Docs