Files
dokploy-apps/gitea/githooks/post-receive

5 lines
185 B
Bash

#!/usr/bin/env bash
echo "==== GitHub mirror start: $(date) ===="
git push <ssh repo ur> +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/*
echo "==== GitHub mirror end: $(date) ===="