Skip to content

Commit

Permalink
Update the sample page
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Apr 19, 2024
1 parent fe12363 commit 50a3421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install .NET SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

# Publish the site
- name: Publish
run: dotnet publish SampleApp.sln -c:Release -o:public -p:GHPages=true
run: dotnet publish SampleApp/SampleApp.csproj -c:Release -o:public -p:GHPages=true

# Deploy the site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
Expand Down
6 changes: 3 additions & 3 deletions SampleApp/SampleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.4" PrivateAssets="all" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 50a3421

Please sign in to comment.