Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
tesar-tech committed Dec 25, 2023
1 parent 434567b commit 07b5a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: '*'

env:
PUBLISH_DIR: ./output
PUBLISH_DIR: output
WEBAPP_PATH: ./src/
WEBAPP_CSPROJ: BlazorAndTailwind.csproj

Expand All @@ -30,7 +30,7 @@ jobs:
sed -i 's/<base href="\/" \/>/<base href="\/'$REPO_NAME'\/" \/>/g' ${{ env.WEBAPP_PATH }}wwwroot/index.html
- name: Build .NET app
run: dotnet build ${{ env.WEBAPP_PATH }}${{env.WEBAPP_CSPROJ}} --configuration Release -o ${{env.PUBLISH_DIR}}
run: dotnet build ${{ env.WEBAPP_PATH }}${{env.WEBAPP_CSPROJ}} --configuration Release -o ${{ env.WEBAPP_PATH }}${{env.PUBLISH_DIR}}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 07b5a95

Please sign in to comment.