diff --git a/docker-compose.yml b/compose.yml similarity index 100% rename from docker-compose.yml rename to compose.yml diff --git a/shell.nix b/shell.nix index 385c3a0..2f11621 100644 --- a/shell.nix +++ b/shell.nix @@ -27,8 +27,7 @@ pkgs.mkShell { pip install watchdog==6.0.0 python watch.py && exit '' else '' - rsync -avP --delete ./dist/ ${remoteHost}:/root/homepage/dist - rsync -avP ./docker-compose.yml ${remoteHost}:/root/homepage/ + rsync -avP --delete ./{dist,compose.yml} ${remoteHost}:/root/homepage/ ${if restartRemote then '' ssh ${remoteHost} "cd /root/homepage && docker compose down && docker compose up -d"