Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00c0419

Browse files
committed
Fix web deployment
1 parent32f4ac1 commit00c0419

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

‎.github/workflows/web-app.yaml‎

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,26 @@ jobs:
1616
runs-on:ubuntu-latest
1717
steps:
1818
# uses GitHub's checkout action to checkout code form the master branch
19-
-uses:actions/checkout@v4
19+
-uses:actions/checkout@v4
20+
with:
21+
fetch-depth:0
2022

2123
# sets up .NET 6
22-
-name:Setup .NET
23-
uses:actions/setup-dotnet@v4
24-
with:
25-
dotnet-version:6.0.x
24+
-name:Setup .NET
25+
uses:actions/setup-dotnet@v4
26+
with:
27+
dotnet-version:6.0.x
2628

2729
# publishes Blazor project to the release-folder
28-
-name:Publish .NET Core Project
29-
run:dotnet publish GlobApp.csproj -c Release -o release --nologo
30+
-name:Publish .NET Core Project
31+
run:dotnet publish GlobApp.csproj -c Release -o release --nologo
3032

3133
# add .nojekyll file to tell GitHub pages to not treat this as a Jekyll project. (Allow files and folders starting with an underscore)
32-
-name:Add .nojekyll file
33-
run:touch release/wwwroot/.nojekyll
34+
-name:Add .nojekyll file
35+
run:touch release/wwwroot/.nojekyll
3436

35-
-name:Commit wwwroot to GitHub Pages
36-
uses:JamesIves/github-pages-deploy-action@4.1.4
37-
with:
38-
branch:gh-pages
39-
folder:src/GlobApp/release/wwwroot
37+
-name:Commit wwwroot to GitHub Pages
38+
uses:JamesIves/github-pages-deploy-action@4.1.4
39+
with:
40+
branch:gh-pages
41+
folder:src/GlobApp/release/wwwroot

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp