mirror of
https://github.com/cupcakearmy/gitea-sync.git
synced 2026-03-17 10:05:26 +00:00
workflow
This commit is contained in:
26
README.md
26
README.md
@@ -1,5 +1,31 @@
|
||||
# Backup Github repos to Gitea
|
||||
|
||||
Simple docker image that syncs your Github repos to a given Gitea server. It takes all the repos (public and private) and sets up a mirror. Private repos will stay a private mirror. Repos that are already setup will be skipped.
|
||||
|
||||
## Quick Start
|
||||
|
||||
```yaml
|
||||
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
```sh
|
||||
# Github PAT
|
||||
# Also works with the new fine grained, read-only tokens
|
||||
GITHUB_TOKEN=
|
||||
|
||||
# Host of the Gitea server
|
||||
GITEA_HOST=
|
||||
# Gitea token
|
||||
GITEA_TOKEN=
|
||||
|
||||
# OPTIONAL
|
||||
|
||||
# Cron schedule
|
||||
CRON="0 */2 * * *"
|
||||
```
|
||||
|
||||
## Known limitations
|
||||
|
||||
- Issues, PR, etc. can be imported, but [not for a mirror](https://github.com/go-gitea/gitea/issues/18369)
|
||||
|
||||
Reference in New Issue
Block a user