Skip to content

Commit

Permalink
Merge pull request #3 from pieckenst/pwa
Browse files Browse the repository at this point in the history
Pwa
  • Loading branch information
pieckenst authored Sep 22, 2022
2 parents 62594e7 + 0c6dc4d commit 3230d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Change base-tag in index.html from / to BlazorGitHubPagesDemo
run: sed -i 's/<base href="\/" \/>/<base href="\/LaunchApp\/" \/>/g' LaunchApp/release/wwwroot/index.html

# changes the base-tag in index.html from '/' to 'BlazorGitHubPagesDemo' to match GitHub Pages repository subdirectory
# changes hash
- name: Fix service-worker-assets.js hashes
working-directory: LaunchApp/release/wwwroot
run: |
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
# 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 LaunchApp/release/wwwroot/index.html release/wwwroot/404.html
run: cp LaunchApp/release/wwwroot/index.html LaunchApp/release/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
Expand Down

0 comments on commit 3230d72

Please sign in to comment.