You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MyApp/_includes/spa-info.md
+13-21Lines changed: 13 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,28 +30,20 @@ Configure in `appsettings.json` or environment:
30
30
31
31
### App Settings Secrets
32
32
33
-
Instead of polluting each GitHub Reposity with multiple App-specific GitHub Action Secrets, you can save all your secrets in a single `APPSETTINGS_PATCH` GitHub Action Secret to patch `appsettings.json`with environment-specific configuration using [JSON Patch](https://jsonpatch.com). E.g:
33
+
Instead of polluting each GitHub Repository with multiple App-specific GitHub Action Secrets, all templates includes built-in support in its GitHub Action workflows for updating an App's entire `appsettings.Production.json`inside a single `APPSETTINGS_JSON` GitHub Action Secret.
Copy file name to clipboardExpand all lines: MyApp/_pages/kamal-deploy.md
+53-29Lines changed: 53 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,40 +92,64 @@ Hostname used for SSL certificate and Kamal proxy: www.example.org
92
92
gh secret set KAMAL_DEPLOY_HOST [www.example.org]
93
93
:::
94
94
95
-
You could register any App-specific secrets here, although our preference is instead of polluting each
96
-
GitHub Repository with multiple App-specific GitHub Action Secrets, you can save all your secrets in a single
97
-
`APPSETTINGS_PATCH` GitHub Action Secret to patch `appsettings.json` with environment-specific configuration
98
-
using [JSON Patch](https://jsonpatch.com). E.g:
95
+
### App Settings Secrets
99
96
100
-
JSON Patch to apply to appsettings.json:
101
-
:::sh
102
-
gh secret set APPSETTINGS_PATCH [json-patch]
103
-
:::
104
-
105
-
JSON Patch example:
97
+
You could register any App-specific secrets here, although our preference is to instead save all your secrets in a single `APPSETTINGS_JSON` GitHub Action Secret which will get written inside the Docker container `appsettings.Production.json`, e.g:
0 commit comments