Skip to content

Commit fb89cce

Browse files
authored
Update deployment workflow for .NET 10
1 parent c5fc65d commit fb89cce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313

14-
- name: Setup .NET 8
14+
- name: Setup .NET 10
1515
uses: actions/setup-dotnet@v3
1616
with:
17-
dotnet-version: '8.0.x'
17+
dotnet-version: '10.0.x'
1818
include-prerelease: true
1919

2020
- name: publish
@@ -23,13 +23,13 @@ jobs:
2323
dotnet publish -c release
2424
2525
- name: Change base-tag in index.html from / to the necessary
26-
run: sed -i 's/<base href="\/" \/>/<base href="\/FuelStationBlazor\/" \/>/g' ./Client/bin/release/net8.0/publish/wwwroot/index.html
26+
run: sed -i 's/<base href="\/" \/>/<base href="\/FuelStationBlazor\/" \/>/g' ./Client/bin/release/net10.0/publish/wwwroot/index.html
2727

2828
- name: Add .nojekyll file
29-
run: touch ./Client/bin/release/net8.0/publish/wwwroot/.nojekyll
29+
run: touch ./Client/bin/release/net10.0/publish/wwwroot/.nojekyll
3030

3131
- uses: JamesIves/github-pages-deploy-action@v4
3232
name: gh-pages publish
3333
with:
3434
branch: gh-pages
35-
folder: ./Client/bin/release/net8.0/publish/wwwroot
35+
folder: ./Client/bin/release/net10.0/publish/wwwroot

0 commit comments

Comments
 (0)