From 317a8a38f4206279a9aea4c7a92ff44f9b78259a Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 3 Jul 2026 21:57:00 +0530 Subject: Add cgit with custom theme --- justfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 justfile (limited to 'justfile') diff --git a/justfile b/justfile new file mode 100644 index 0000000..6554cae --- /dev/null +++ b/justfile @@ -0,0 +1,24 @@ +set dotenv-load +set positional-arguments + +TARGET_DIR := "/opt/project" + +ssh *args: + ssh -p "$SSH_PORT" "${SSH_USER}@${SSH_HOST}" "$@" + +shell: ssh + +copy *args: + rsync -ravh --delete --exclude '.git' -e "ssh -p $SSH_PORT" "$@" + +df: + just ssh 'df -ah /' + +upload: + just copy . "${SSH_USER}@${SSH_HOST}:{{TARGET_DIR}}" + +start-remote: + just ssh "{{TARGET_DIR}}/setup.sh" start + +setup *args: + just ssh "{{TARGET_DIR}}/setup.sh" "$@" -- cgit v1.3.1