diff --git a/admin/README.md b/admin/README.md new file mode 100644 index 0000000..921d8a3 --- /dev/null +++ b/admin/README.md @@ -0,0 +1,5 @@ +# `admin` + +Bunch of scripts I use to administrate the treehouse at . + +These scripts run remotely on the server and are triggered by a couple scripts on my local machine. diff --git a/admin/server_sync.fish b/admin/server_sync.fish new file mode 100644 index 0000000..ca825e5 --- /dev/null +++ b/admin/server_sync.fish @@ -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