github action corrections

This commit is contained in:
elgransan 2022-04-13 13:53:11 -03:00 committed by GitHub
parent 61a7537715
commit ecc0ba4e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/<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