diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84e22bc..70bcdd7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,4 +24,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages FOLDER: release/wwwroot + # changes the base-tag in index.html from '/' to 'BlazorReorder' to match GitHub Pages repository subdirectory + - name: Change base-tag in index.html from / to BlazorReorder + run: sed -i 's///g' release/wwwroot/index.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 release/wwwroot/.nojekyll