Make the Blazor Server sample project be able to test the DisableClie… #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code | |
- uses: actions/checkout@v3 | |
# Install .NET SDK | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
# Publish the site | |
- name: Publish | |
run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net8.0 | |
# Deploy the site | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: public/wwwroot | |
force_orphan: true |