chore: add push-both script for GitHub + Gitea remotes

Keeps o0kuma/hikikomori and gitea oh/iykyka in sync from this workspace.

Co-authored-by: okuma <o0kuma@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-07-30 08:47:40 +00:00
parent 17b10a0e8c
commit c4ecb5862b
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

8
scripts/push-both.sh Executable file
View File

@ -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)"