#!/usr/bin/env bash # Pull web-edit commits from VPS, then push everything back. # Usage: bash scripts/sync-vps.sh set -e cd "$(dirname "$0")/.." echo "==> Pulling web-edit commits from VPS..." git pull --rebase vps main echo "==> Pushing site submodule to VPS..." (cd site && git push vps main) echo "==> Pushing container repo to VPS..." git push vps main echo "==> Done."