2024-04-28 15:42:48 +10:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
git fetch --tags
|
2024-04-29 00:18:23 +10:00
|
|
|
git remote add action-forgejo-mirror https://action-forgejo-mirror:$FORGEJO_KEY@$FORGEJO_DEST/$GITHUB_REPOSITORY
|
2024-04-28 15:42:48 +10:00
|
|
|
git push action-forgejo-mirror --all
|
|
|
|
git push action-forgejo-mirror --tags "refs/remotes/origin/*:refs/heads/*"
|
|
|
|
git remote remove action-forgejo-mirror
|