CI: mirror main + tags to GitHub after every merge to main #3
Reference in New Issue
Block a user
Delete Branch "github-mirror"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds .gitea/workflows/mirror.yml: on push to main (or manual dispatch) it force-pushes refs/remotes/origin/main and all tags to https://github.com/larvit/plainpages over HTTPS, authenticated with a dedicated machine account's fine-grained PAT in the Actions secret MIRROR_GITHUB_TOKEN. README gets the true-home note at the top and the mirror setup steps under CI/CD. Until the secret is added the mirror job fails loud on each merge; trigger the workflow manually for the first sync.