mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-11 10:40:29 +00:00
14 lines
263 B
Bash
Executable File
14 lines
263 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Usage:
|
|
# upload [user]
|
|
|
|
REMOTE_USER=${1:-$USER}
|
|
HOST="jquery.tiddlywiki.org"
|
|
DIR="/var/www/www.jquery.tiddlywiki.org/htdocs/"
|
|
|
|
COMMANDS="ssh $REMOTE_USER@$HOST"
|
|
COMMANDS="$COMMANDS cd $DIR;"
|
|
COMMANDS="$COMMANDS sudo svn update;"
|
|
$COMMANDS
|