mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 15:29:56 +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
|