Skip to content

Commit ebe4d59

Browse files
authored
Update DeployToGitHubPages.yml
1 parent 37649d9 commit ebe4d59

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/DeployToGitHubPages.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ jobs:
1414
steps:
1515
- uses: actions/[email protected]
1616

17+
- name: Publish app
18+
run: dotnet publish 9.0/BlazorWebAssemblyXrefGenerator -c Release
19+
20+
- name: Rewrite base href
21+
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
22+
with:
23+
html_path: ${{ env.PUBLISH_DIR }}/index.html
24+
base_href: /9.0/BlazorWebAssemblyXrefGenerator/
25+
1726
- name: GitHub Pages
1827
if: success()
1928
uses: crazy-max/[email protected]
2029
with:
2130
target_branch: gh-pages
2231
build_dir: ${{ env.PUBLISH_DIR }}
23-
jekyll: false
2432
env:
2533
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)