Skip to content

An action to deploy a Blazor WebAssembly project to GitHub Pages

Notifications You must be signed in to change notification settings

bssm1989/deploy-blazor-to-gh-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Blazor to GitHub Pages

This GitHub Action publishes and deploys a Blazor WebAssembly project in your repository to your GitHub Pages through the gh-pages branch. It can be seen used in the blazor-pwa-on-gh-pages sample.

This automatically performs all the required setup, including adding the .nojekyll file and a 404.html page redirection workaround which is necessary in order for single-page applications to work in GitHub Pages.

This is based on Steve Sanderson's BlazorOnGitHubPages example.

Usage

- uses: proulxsamuel/deploy-blazor-to-gh-pages@master
  with:
    # The path to the Blazor project in the repository.
    # Default: '.'
    project_path: ''   

This requires you to enable GitHub Pages in your repository settings and to checkout the repository through actions/checkout first.

You can see a workflow example here.

About

An action to deploy a Blazor WebAssembly project to GitHub Pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published