Skip to content

Commit

Permalink
publish try again
Browse files Browse the repository at this point in the history
  • Loading branch information
NicklausBrain committed Jan 14, 2024
1 parent bba9e7a commit 0c4de83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: DeployToGitHubPages
env:
PUBLISH_DIR: bin/Release/net8.0/publish/wwwroot
PUBLISH_DIR: blazor-app/bin/Release/net8.0/publish/wwwroot

# Controls when the action will run
on:
Expand All @@ -14,13 +14,13 @@ jobs:
- uses: actions/checkout@v2

- name: Publish app
run: dotnet publish -c Release
run: dotnet publish -c Release ./blazor-app/

- name: Rewrite base href
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
with:
html_path: ${{ env.PUBLISH_DIR }}/index.html
base_href: /BlazorOnGitHubPages/
base_href: /ai-flashcards/blazor-app/

- name: GitHub Pages
if: success()
Expand Down

0 comments on commit 0c4de83

Please sign in to comment.