Skip to content

Commit

Permalink
gha allow to not have a space in base tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tesar-tech committed Oct 25, 2024
1 parent 004d186 commit f688fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
REPO_NAME=$(echo "${{ github.repository }}" | awk -F '/' '{print $NF}')
if [[ "$REPO_NAME" != *.github.io ]]; then
sed -i 's|<base href="/" />|<base href="/'$REPO_NAME'/" />|g' ${{ env.WEBAPP_PATH }}/Components/App.razor
sed -i 's|<base href="/"*/>|<base href="/'$REPO_NAME'/" />|g' ${{ env.WEBAPP_PATH }}/Components/App.razor
fi
- name: Run webapp and generate static files
Expand Down

0 comments on commit f688fd5

Please sign in to comment.