Minor adjustment

This commit is contained in:
Yan Lin 2025-05-21 21:02:51 +02:00
parent 53c60f9add
commit 7b37f017ba
2 changed files with 1 additions and 2 deletions

View file

@ -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"