add server sync script
This commit is contained in:
parent
8643d419ab
commit
c5d48bcb10
5
admin/README.md
Normal file
5
admin/README.md
Normal 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
8
admin/server_sync.fish
Normal 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
|
Loading…
Reference in a new issue