Skip to content

Commit f688fd5

Browse files
committed
gha allow to not have a space in base tag
1 parent 004d186 commit f688fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-to-gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
REPO_NAME=$(echo "${{ github.repository }}" | awk -F '/' '{print $NF}')
2626
if [[ "$REPO_NAME" != *.github.io ]]; then
27-
sed -i 's|<base href="/" />|<base href="/'$REPO_NAME'/" />|g' ${{ env.WEBAPP_PATH }}/Components/App.razor
27+
sed -i 's|<base href="/"*/>|<base href="/'$REPO_NAME'/" />|g' ${{ env.WEBAPP_PATH }}/Components/App.razor
2828
fi
2929
3030
- name: Run webapp and generate static files

0 commit comments

Comments
 (0)