Skip to content

spotify user db,

spotify user db, #59

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
deploy-to-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install .NET WASM Build Tools
run: dotnet workload install wasm-tools
- name: Publish .NET project
run: dotnet publish 'MusicReleases/MusicReleases.csproj' -c:Release -p:GHPages=true -o 'dist/Web' --nologo
# copy index.html to 404.html to serve the same file when a file is not found
- name: copy index.html to 404.html
run: cp dist/Web/wwwroot/index.html dist/Web/wwwroot/404.html
# add .nojekyll file to tell GitHub pages to not treat this as a Jekyll project. (Allow files and folders starting with an underscore)
- name: Add .nojekyll file
run: touch dist/Web/wwwroot/.nojekyll
# commit published app to github pages
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: github-pages
folder: dist/Web/wwwroot