# sync-gitee
**Repository Path**: jikkai/sync-gitee
## Basic Information
- **Project Name**: sync-gitee
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-06-13
- **Last Updated**: 2025-06-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Sync Gitee
一个允许将 GitHub 仓库同步到 Gitee 的 GitHub Action。
[![][github-license-shield]][github-license-link]
## 使用方法
```yaml
name: 🔮 Sync Mirror
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync Gitee
uses: jikkai/sync-gitee@v1
with:
repository: /
username: ${{ secrets.GITEE_USERNAME }}
password: ${{ secrets.GITEE_PASSWORD }}
tags: true
branches: main
```
## 选项
- `repository`: 要同步到的 Gitee 仓库,格式为 `/`。
- `username`: 你的 Gitee 用户名。
- `password`: 你的 Gitee 密码或个人访问令牌。
- `tags`: 是否同步标签。默认为 `true`。
- `branches`: 要同步的分支列表,以空格分隔。默认为 `main master`。
[github-license-shield]: https://img.shields.io/github/license/jikkai/sync-gitee?style=flat-square
[github-license-link]: ./LICENSE