Skip to content

Commit d404a17

Browse files
author
Luca
committed
Merge tag 'v0.3.0' into develop
+ Add ConfigurationService with auto-save and compile-time key enforcement + Adds weather and location data services
2 parents 4d42168 + 564a8bd commit d404a17

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
github-token: ${{ secrets.GITHUB_TOKEN }}
3939
run-id: ${{ steps.resolve.outputs.run_id }}
4040

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+
4146
- name: Deploy and Restart Service
4247
run: |
4348
systemctl stop pi-touch-date.service || true

PiTouchDate/Services/ConfigurationService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ private AppConfiguration Load()
122122

123123
foreach (var line in File.ReadAllLines(SecretsFilePath))
124124
{
125-
Console.WriteLine($"looping: {line}");
126125
var trimmed = line.Trim();
127126
var eqIndex = trimmed.IndexOf('=');
128127
if (eqIndex < 0) continue;

0 commit comments

Comments
 (0)