Skip to content

Create README.md

Create README.md #6

Workflow file for this run

name: Deploy to GitHub Pages
permissions:
contents: write
on:
push:
branches: [main]
jobs:
deploy-to-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 7.0
- name: Publish .NET Core Project
run: dotnet publish Modulhandbuch.Frontend/Modulhandbuch.Frontend.csproj -c Release -o release --nologo
- name: Fix base-tag in index.html
run: sed -i 's/<base href="\/" \/>/<base href="\/${{ github.event.repository.name }}\/" \/>/g' release/wwwroot/index.html
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: release/wwwroot