Commit 166fbf1
committed
Clarify GitHub repository secrets for CI/CD deployment
Both TAILSCALE_AUTHKEY and FLY_API_TOKEN are GitHub repository secrets,
not Fly.io secrets. The GitHub Actions workflow handles setting these
as Fly.io secrets during deployment.
## Changes Made
- **GitHub Actions workflow**: Add TAILSCALE_AUTHKEY environment variable
- **Deployment step**: Automatically set Tailscale auth key in Fly.io secrets
- **Documentation**: Clarify both secrets are GitHub repository secrets
- **Admin procedures**: Update key rotation to use GitHub secrets first
- **Deployment prerequisites**: Document both required GitHub secrets
## Required GitHub Repository Secrets
1. **FLY_API_TOKEN**: Fly.io deploy token for automated deployment
2. **TAILSCALE_AUTHKEY**: Ephemeral auth key for Tailscale mesh access
## GitHub Actions Workflow
The workflow now:
- Uses both secrets from GitHub repository settings
- Automatically sets TAILSCALE_AUTHKEY as Fly.io secret for each app
- Maintains existing FLY_API_TOKEN usage for deployment authentication
This provides proper separation between GitHub CI/CD secrets and
runtime Fly.io application secrets.1 parent 7dc0243 commit 166fbf1
File tree
3 files changed
+34
-11
lines changed- .github/workflows
- docs
3 files changed
+34
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
| 53 | + | |
| 54 | + | |
45 | 55 | | |
46 | 56 | | |
47 | 57 | | |
| |||
157 | 167 | | |
158 | 168 | | |
159 | 169 | | |
160 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
161 | 179 | | |
162 | 180 | | |
163 | 181 | | |
164 | | - | |
165 | | - | |
166 | 182 | | |
167 | 183 | | |
168 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
0 commit comments