Skip to content

Commit 8fe15a1

Browse files
authored
Fix PUBLISH_DIR path in GitHub Actions workflow
1 parent e136b37 commit 8fe15a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Simple workflow for deploying static content to GitHub Pages
22
name: Deploy static content to Pages
33
env:
4-
PUBLISH_DIR: /Demo/ExpireStorage.Demo/bin/Release/net10.0/publish/wwwroot
4+
PUBLISH_DIR: Demo/ExpireStorage.Demo/bin/Release/net10.0/publish/wwwroot
55

66
on:
77
# Runs on pushes targeting the default branch for the app's folder path
@@ -45,7 +45,7 @@ jobs:
4545
dotnet-version: '10.0.x'
4646

4747
- name: Publish app
48-
run: dotnet publish /Demo/ExpireStorage.Demo/ExpireStorage.Demo.csproj -c Release
48+
run: dotnet publish Demo/ExpireStorage.Demo -c Release
4949

5050
- name: Rewrite base href
5151
uses: SteveSandersonMS/ghaction-rewrite-base-href@5b54862a8831e012d4f1a8b2660894415fdde8ec # v1.1.0

0 commit comments

Comments
 (0)