Skip to content

Commit b53d9ef

Browse files
done
1 parent 46693a3 commit b53d9ef

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@
33
[![](../../workflows/gh-pages/badge.svg)](../../actions)
44

55

6-
This project is an example of using GitHub Actions to automatically deploy a .NET 8 [MudBlazor](https://mudblazor.com/) WebAssembly SPA (Single Page Application) to GitHub Pages. For a live demo, check the following link:
6+
This project is an example of using GitHub Actions to automatically deploy a .NET 9 [MudBlazor](https://mudblazor.com/) WebAssembly SPA (Single Page Application) to GitHub Pages. For a live demo, check the following link:
77

88
https://mudblazorgithubpages.github.io
99

1010
Microsoft Docs already contains a [general overview](https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-8.0#github-pages)
1111
of the steps needed for a successful deploy.
1212

1313
## How to deploy
14-
1. Create a repository based on this template via the "Use this template" button (you don't fork, a fork is for contributing to this template or creating your own template)
15-
2. Go to your repository Settings > GitHub Pages > set the source branch to `gh-pages-from-actions`
14+
# How to Fork
15+
1. Fork this repository
16+
2. Go to the repository you just created, then go to: `Settings` > `GitHub Pages` > set the source branch to `gh-pages-from-actions`
1617
3. [Set permissions for GitHub Actions](https://stackoverflow.com/questions/73687176/permission-denied-to-github-actionsbot-the-requested-url-returned-error-403)
17-
4. Enable Dependabot: `Insights` > `Dependency graph` > `Dependabot` > Enable Dependabot
18-
5. View your site at https://[ `your user name` | `your organization name` ].github.io
18+
4. View your site at https://`your_user_name | your_organization_name`.github.io/`name_you_used_in_step1`
19+
5. (optional) Enable Dependabot
20+
1. `Insights` > `Dependency graph` > `Dependabot` > Enable Dependabot
21+
2. Create a branch named `dev` (branched from the `main` branch)
1922

2023
## How it works
2124

src/MudBlazorPages/MudBlazorPages.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>

0 commit comments

Comments
 (0)