Skip to content

Commit

Permalink
Fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Dec 23, 2023
1 parent 51aab88 commit 31ec0cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
- name: Publish .NET Core Project
run: dotnet publish Pkmds.Web/Pkmds.Web.csproj -c Release -o release --nologo

# changes the base-tag in index.html from '/' to 'PKMDS-Blazor' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to PKMDS-Blazor
run: sed -i 's/<base href="\/" \/>/<base href="\/PKMDS-Blazor\/" \/>/g' release/wwwroot/index.html

# 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 release/wwwroot/index.html release/wwwroot/404.html
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Sprites from: https://github.com/msikma/pokesprite-spritesheet

[![Build and deploy ASP.Net Core app to Azure Web App - pkmds-web](https://github.com/codemonkey85/PKMDS-Blazor/actions/workflows/dotnet-8-release-new-template_pkmds-web.yml/badge.svg)](https://github.com/codemonkey85/PKMDS-Blazor/actions/workflows/dotnet-8-release-new-template_pkmds-web.yml)

Deployed to: https://pkmds-web.azurewebsites.net/
Deployed to: https://www.pkmds.app/

Special thanks to Kaphotics, as well as [all the contributors to PKHeX and PKHeX.Core](https://github.com/kwsch/PKHeX/graphs/contributors).

0 comments on commit 31ec0cf

Please sign in to comment.