We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d42168 + 564a8bd commit d404a17Copy full SHA for d404a17
2 files changed
.github/workflows/deploy.yml
@@ -38,6 +38,11 @@ jobs:
38
github-token: ${{ secrets.GITHUB_TOKEN }}
39
run-id: ${{ steps.resolve.outputs.run_id }}
40
41
+ - name: Secrets injection
42
+ run: |
43
+ echo 'GEOCODE_API_KEY=${{ secrets.GEOCODE_API_KEY }}' > /home/pi/.secrets.env
44
+ cat /home/pi/.secrets.env
45
+
46
- name: Deploy and Restart Service
47
run: |
48
systemctl stop pi-touch-date.service || true
PiTouchDate/Services/ConfigurationService.cs
@@ -122,7 +122,6 @@ private AppConfiguration Load()
122
123
foreach (var line in File.ReadAllLines(SecretsFilePath))
124
{
125
- Console.WriteLine($"looping: {line}");
126
var trimmed = line.Trim();
127
var eqIndex = trimmed.IndexOf('=');
128
if (eqIndex < 0) continue;
0 commit comments