Skip to content

Commit 7497570

Browse files
committed
Add secret:prod npm script
1 parent e4a4b5c commit 7497570

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

MyApp/appsettings.Development.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Logging": {
33
"LogLevel": {
4-
"Default": "Information",
4+
"Default": "Debug",
55
"Microsoft.AspNetCore": "Warning"
66
}
77
}

MyApp/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"ui:dev": "tailwindcss -i ./tailwind.input.css -o ./wwwroot/css/app.css --watch",
77
"ui:build": "tailwindcss -i ./tailwind.input.css -o ./wwwroot/css/app.css --minify",
88
"build": "npm run ui:build",
9+
"secret:prod": "gh secret set APPSETTINGS_JSON < appsettings.Production.json",
910
"migrate": "dotnet run --AppTasks=migrate",
1011
"revert:last": "dotnet run --AppTasks=migrate.revert:last",
1112
"revert:all": "dotnet run --AppTasks=migrate.revert:all",

0 commit comments

Comments
 (0)