Skip to content

Create README.md

Create README.md #17

Workflow file for this run

name: Deployment
on:
push:
branches:
- master
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'
include-prerelease: true
- name: publish
run: |
cd FuelStationBlazor
cd Client
dotnet publish -c release
- name: Change base-tag in index.html from / to the necessary
run: sed -i 's/<base href="\/" \/>/<base href="\/FuelStationBlazor\/" \/>/g' ./FuelStationBlazor/Client/bin/release/net8.0/publish/wwwroot/index.html
- name: Add .nojekyll file
run: touch ./FuelStationBlazor/Client/bin/release/net8.0/publish/wwwroot/.nojekyll
- uses: JamesIves/github-pages-deploy-action@v4
name: gh-pages publish
with:
branch: gh-pages
folder: ./FuelStationBlazor/Client/bin/release/net8.0/publish/wwwroot