Minor adjustment
This commit is contained in:
parent
53c60f9add
commit
7b37f017ba
2 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue