diff --git a/gitea/githooks/post-receive b/gitea/githooks/post-receive index 9730a2b..5c981f5 100644 --- a/gitea/githooks/post-receive +++ b/gitea/githooks/post-receive @@ -1,4 +1,4 @@ #!/usr/bin/env bash echo "==== GitHub mirror start: $(date) ====" -git push --mirror +git push +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* echo "==== GitHub mirror end: $(date) ===="