9 lines
261 B
Bash
9 lines
261 B
Bash
|
#!/usr/bin/env sh
|
||
|
set -eu
|
||
|
|
||
|
/setup.sh
|
||
|
|
||
|
export GIT_SSH_COMMAND="ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -l $INPUT_SSH_USERNAME"
|
||
|
git remote add mirror "$INPUT_TARGET_REPO_URL"
|
||
|
git push --tags --force --prune mirror "refs/remotes/origin/*:refs/heads/*"
|