dumb
This commit is contained in:
parent
d2b0eb410f
commit
3ad7145229
|
|
@ -11,9 +11,12 @@ source "$ROOT_DIR/scripts/config.sh"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
||||||
# SSH to target: pull, build, sync apps, restart
|
# SSH to target: pull, build, sync apps, restart
|
||||||
ssh "$SSH_HOST" DEST="$DEST" APPS_DIR="$APPS_DIR" bash <<'SCRIPT'
|
ssh "$SSH_HOST" bash <<'SCRIPT'
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
DEST="${DEST:-$HOME/toes}"
|
||||||
|
APPS_DIR="${APPS_DIR:-$HOME/apps}"
|
||||||
|
|
||||||
cd "$DEST" && git checkout -- bun.lock && git pull origin main && bun install && rm -rf dist && bun run build
|
cd "$DEST" && git checkout -- bun.lock && git pull origin main && bun install && rm -rf dist && bun run build
|
||||||
|
|
||||||
echo "=> Syncing default apps..."
|
echo "=> Syncing default apps..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user