Skip to content

Instantly share code, notes, and snippets.

@RomainDelamare
RomainDelamare / gh-pages.yml
Last active June 7, 2020 11:37
Yaml file for Blazor hosting on Github pages with Github Actions
name: Build and Deploy to Github Pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@RomainDelamare
RomainDelamare / 404.html
Created June 7, 2020 10:17
404.html for Blazor hosting on Github pages
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafrex/spa-github-pages
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
// ----------------------------------------------------------------------
@RomainDelamare
RomainDelamare / index.html
Created June 7, 2020 10:10
Index.html for Blazor hosting on Github pages
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>BlazorGithubPagesUsingGithubActions</title>
<base href="/" />
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
<link href="css/app.css" rel="stylesheet" />