写了一个同步 Github 项目到 Coding 的 action
資深大佬 : abersheeran 1
其实原理很简单,就拉取然后推送。但是中间那个把所有分支都在本地 checkout 一遍的步骤折腾了我四五个小时。
https://github.com/abersheeran/index.py/blob/a9ef1e2dca0c975108b942657679ec47908c7bcc/.github/workflows/setup.yml#L55-L82
显然也是可以同步到 gitee 以及任何一个支持 git 的平台的。
大佬有話說 (3)