Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathwajv authored May 15, 2022
1 parent 5df9ab1 commit 42092c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Publish .NET Core Project
run: dotnet publish src/Host/Host.csproj -c Release -o release --nologo

# changes the base-tag in index.html from '/' to 'cowin' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to cowin
run: sed -i 's/<base href="\/" \/>/<base href="\/cowin\/" \/>/g' release/wwwroot/index.html
# changes the base-tag in index.html from '/' to 'RewardsPlus.Client' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to RewardsPlus.Client
run: sed -i 's/<base href="\/" \/>/<base href="\/RewardsPlus.Client\/" \/>/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
Expand Down

0 comments on commit 42092c7

Please sign in to comment.