github action corrections
This commit is contained in:
parent
61a7537715
commit
ecc0ba4e4e
1 changed files with 6 additions and 0 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -24,4 +24,10 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
FOLDER: release/wwwroot
|
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/<base href="\/" \/>/<base href="\/BlazorReorder\/" \/>/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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue