diff --git a/scripts/push-both.sh b/scripts/push-both.sh new file mode 100755 index 0000000..ef28999 --- /dev/null +++ b/scripts/push-both.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# Push main to GitHub (origin) and Gitea (gitea) remotes. +set -euo pipefail +BRANCH="${1:-main}" +cd "$(dirname "$0")/.." +git push -u origin "$BRANCH" +git push -u gitea "$BRANCH" +echo "Pushed $BRANCH → origin (GitHub) + gitea (gitea.iykyka.com/oh/iykyka)"