Skip to content

Commit

Permalink
Fix blazor-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Keller253 authored Feb 6, 2024
1 parent 65c39c1 commit e4e86ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/blazor-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
runs-on: ubuntu-latest

env:
PROJECT_FILE: "src/CyclingApp/CyclingApp/CyclingApp.csproj"
DOTNET_VERSION: '7.0.x'

steps:
Expand All @@ -48,10 +49,10 @@ jobs:
${{ runner.os }}-nuget-
- name: Build with dotnet
run: dotnet build CyclingApp --configuration Release
run: dotnet build ${{ env.PROJECT_FILE }} --configuration Release

- name: Publish with dotnet
run: dotnet publish CyclingApp -c Release -o ./_site
run: dotnet publish ${{ env.PROJECT_FILE }} -c Release -o ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit e4e86ef

Please sign in to comment.