8 lines
303 B
Bash
8 lines
303 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
git fetch --tags
|
||
|
git remote add action-forgejo-mirror https://action-forgejo-mirror:$FORGEJO_KEY@$FORGEJO_DEST/$GITHUB_REPOSITORY
|
||
|
git push action-forgejo-mirror --all
|
||
|
git push action-forgejo-mirror --tags "refs/remotes/origin/*:refs/heads/*"
|
||
|
git remote remove action-forgejo-mirror
|