Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoVG authored Mar 22, 2024
1 parent d11577b commit b26e4d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
# DEBUG: List files
- name: ls
run: ls -al
# changes the base-tag in index.html from '/' to 'CurrentDevice' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to CurrentDevice
run: sed -i 's/<base href="\/" \/>/<base href="\/CurrentDevice\/" \/>/g' release/index.html
# DEBUG: List files
- name: copy to release
run: cp release/wwwroot/* release/ -r
# DEBUG: List files
- name: ls more
run: ls release/ -al

# changes the base-tag in index.html from '/' to 'CurrentDevice' to match GitHub Pages repository subdirectory
- name: Change base-tag in index.html from / to CurrentDevice
run: sed -i 's/<base href="\/" \/>/<base href="\/CurrentDevice\/" \/>/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 b26e4d1

Please sign in to comment.