Skip to content

Commit d8aceab

Browse files
committed
different syntax
1 parent 6e34830 commit d8aceab

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
HOMESPEAKER_IMAGE=ghcr.io/${{ github.repository_owner }}/homespeaker:latest
4545
EOF
4646
47+
- name: Ensure secrets file exists
48+
run: touch /home/piuser/homespeaker-secrets.env
49+
4750
- name: Pull latest images
4851
run: docker-compose pull
4952

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ services:
2121
- airplay-shared:/tmp/airplay-shared # Shared volume for AirPlay state
2222
- /run/user/1000/pulse:/run/user/1000/pulse:rw
2323
# Persistent secrets file — create this once on each Pi, never committed to git.
24-
# See: /home/piuser/homespeaker-secrets.env (example below)
24+
# See homespeaker-secrets.env.example for the template.
25+
# The deploy workflow creates this file (empty) if it doesn't exist yet.
2526
env_file:
26-
- path: /home/piuser/homespeaker-secrets.env
27-
required: false # Gracefully skip if file doesn't exist yet
27+
- /home/piuser/homespeaker-secrets.env
2828
depends_on:
2929
- aspire
3030
environment:

0 commit comments

Comments
 (0)