8 lines
303 B
Bash
Executable file
8 lines
303 B
Bash
Executable file
#!/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
|