未验证 提交 cb747cf0 编写于 作者: LinuxSuRen's avatar LinuxSuRen 提交者: GitHub

Add backup action (#107)

* Add backup action

* Fix the wrong target git repo
上级 7b5ae6ff
name: Backup Git Repo
on:
push:
branches:
- master
jobs:
git-repo-backup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: git-repo-backup
uses: jenkins-zh/git-backup-actions@v0.0.1
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
TARGET_GIT: "git@gitee.com:jenkins-zh/localization-zh-cn-plugin.git"
\ No newline at end of file
......@@ -21,3 +21,8 @@ If you are interested in localization, please check [Chinese Localization SIG](h
All Chinese characters will convert to ASCII. It's hard to read. So you could use [online tools](https://native2ascii.net/).
Everyone should follow the [translation specification](specification.md).
# Actions
We use [git-backup-actions](https://github.com/jenkins-zh/git-backup-actions/) to backup this repo into
[gitee](https://gitee.com/jenkins-zh/localization-zh-cn-plugin).
......@@ -19,3 +19,8 @@
所有的中文字符都需要转为为 ASCII.这样难以阅读,你可以使用这个[在线工具](https://native2ascii.net/)进行快速地转化。
注意,每位贡献者都应该遵循[翻译规范](specification.md)
# Actions
我们使用 [git-backup-actions](https://github.com/jenkins-zh/git-backup-actions/) 来备份当前仓库到
[gitee](https://gitee.com/jenkins-zh/localization-zh-cn-plugin).
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册