@@ -16,24 +16,26 @@ jobs:
1616runs-on :ubuntu-latest
1717steps :
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