From 7b37f017ba5202d8d47684754b706d2bd1936dfd Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 21 May 2025 21:02:51 +0200 Subject: [PATCH] Minor adjustment --- docker-compose.yml => compose.yml | 0 shell.nix | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) rename docker-compose.yml => compose.yml (100%) 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"