ok, we set up template manually. hint:
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit

rg -i -l REPO_NAME > .gitea/template
and then add $REPO_NAME.csproj, rg checks contents.
This commit is contained in:
adam 2024-12-13 14:47:34 -05:00
parent 29c04f12fa
commit 37541e45d3
6 changed files with 22 additions and 8 deletions

View File

@ -1,2 +1,16 @@
**/*.*
$REPO_NAME.csproj
$REPO_NAME.service
$REPO_NAMEDBContext.cs
appsettings.sample.json
Components/_Imports.razor
Components/App.razor
Components/Layout/NavMenu.razor
Configuration.cs
devuitls.sh
Jenkinsfile
Migrations/20241213175020_greets.cs
Migrations/20241213175020_greets.Designer.cs
Migrations/Test236DBContextModelSnapshot.cs
Models/GreetCounter.cs
Program.cs
README.md

View File

@ -7,7 +7,7 @@
<base href="/" />
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="test236.styles.css" />
<link rel="stylesheet" href="$REPO_NAME.styles.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
</head>

View File

@ -1,6 +1,6 @@
<div class="top-row ps-3 navbar navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="">test236</a>
<a class="navbar-brand" href="">$REPO_NAME</a>
</div>
</div>

View File

@ -6,5 +6,5 @@
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using test236
@using test236.Components
@using $REPO_NAME
@using $REPO_NAME.Components

View File

@ -1,4 +1,4 @@
namespace test236
namespace $REPO_NAME
{
public class Configuration
{

View File

@ -5,5 +5,5 @@
"Microsoft.AspNetCore": "Warning"
}
},
"DBConnectionString": "Host=localhost;Database=$REPO_NAME_dev;Username=test236;Password=wnmhOttjA0wCiR9hVoG7jjrf90SxWvAV;IncludeErrorDetail=true;"
"DBConnectionString": "Host=localhost;Database=$REPO_NAME_dev;Username=$REPO_NAME;Password=wnmhOttjA0wCiR9hVoG7jjrf90SxWvAV;IncludeErrorDetail=true;"
}