diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-07-03 21:57:00 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-07-03 22:00:23 +0530 |
| commit | 317a8a38f4206279a9aea4c7a92ff44f9b78259a (patch) | |
| tree | 68ab2b64a7e756951a88341e8ec57545bf6b5313 /justfile | |
| parent | af2c070c4170718289aa5d55c3d3c27f46c2ac6b (diff) | |
| download | bacchus-remote-317a8a38f4206279a9aea4c7a92ff44f9b78259a.tar.gz bacchus-remote-317a8a38f4206279a9aea4c7a92ff44f9b78259a.zip | |
Add cgit with custom theme
Diffstat (limited to '')
| -rw-r--r-- | justfile | 24 |
1 files changed, 24 insertions, 0 deletions
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" "$@" |
