Skip to content

Commit 76aec40

Browse files
committed
Add GitHub Action secret
1 parent 3d1d6a0 commit 76aec40

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
DOCKER_BUILDKIT: 1
1717
KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
1818
KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
19+
SERVICESTACK_LICENSE: ${{ secrets.SERVICESTACK_LICENSE }}
1920

2021
jobs:
2122
release:

.kamal/secrets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Option 1: Read secrets from the environment
66
KAMAL_REGISTRY_PASSWORD=$KAMAL_REGISTRY_PASSWORD
77
KAMAL_REGISTRY_USERNAME=$KAMAL_REGISTRY_USERNAME
8+
SERVICESTACK_LICENSE=$SERVICESTACK_LICENSE
89

910
# Option 2: Read secrets via a command
1011
# RAILS_MASTER_KEY=$(cat config/master.key)

config/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ image: my-user/myapp
66

77
# Required for use of ASP.NET Core with Kamal-Proxy.
88
env:
9-
ASPNETCORE_FORWARDEDHEADERS_ENABLED: true
9+
clear:
10+
ASPNETCORE_FORWARDEDHEADERS_ENABLED: true
11+
secret:
12+
- SERVICESTACK_LICENSE
1013

1114
# Deploy to these servers.
1215
servers:

0 commit comments

Comments
 (0)