Skip to content

Commit

Permalink
Last fix for sample site
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissainty committed Jul 13, 2023
1 parent 5569dc8 commit ded7e0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ jobs:
run: dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --api-key $NUGET_KEY --skip-duplicate

- name: Publish Sample Site
run: dotnet publish -c Release samples/BlazorClientSide/BlazorClientSide.csproj
run: dotnet publish -c Release samples/TextEditorDemo/TextEditorDemo.csproj

- name: Rewrite base href
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
with:
html_path: samples/BlazorClientSide/bin/Release/$OUTPUT_DIR/publish/wwwroot/index.html
html_path: samples/TextEditorDemo/bin/Release/net7.0/publish/wwwroot/index.html
base_href: /${{ env.PROJECT_NAME }}/

- name: Deploy to Github Pages
Expand All @@ -76,5 +76,5 @@ jobs:
ACCESS_TOKEN: $GITHUB_TOKEN
BASE_BRANCH: main # The branch the action should deploy from.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: samples/BlazorClientSide/bin/Release/$OUTPUT_DIR/publish/wwwroot # The folder the action should deploy.
FOLDER: samples/TextEditorDemo/bin/Release/net7.0/publish/wwwroot # The folder the action should deploy.
SINGLE_COMMIT: true

0 comments on commit ded7e0f

Please sign in to comment.