add server sync script

This commit is contained in:
liquidex 2023-08-27 21:59:49 +02:00
parent 8643d419ab
commit c5d48bcb10
2 changed files with 13 additions and 0 deletions

5
admin/README.md Normal file
View file

@ -0,0 +1,5 @@
# `admin`
Bunch of scripts I use to administrate the treehouse at <https://liquidex.house>.
These scripts run remotely on the server and are triggered by a couple scripts on my local machine.

8
admin/server_sync.fish Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env fish
# This script runs on the server.
cd $TREEHOUSE_PATH
git pull
cargo run --release -p treehouse generate