• 请不要在回答技术问题时复制粘贴 AI 生成的内容
abersheeran
V2EX  ›  程序员

写了一个同步 Github 项目到 Coding 的 action

  •  1
     
  •   abersheeran · Sep 27, 2020 · 1844 views
    This topic created in 2146 days ago, the information mentioned may be changed or developed.

    其实原理很简单,就拉取然后推送。但是中间那个把所有分支都在本地 checkout 一遍的步骤折腾了我四五个小时。

    https://github.com/abersheeran/index.py/blob/a9ef1e2dca0c975108b942657679ec47908c7bcc/.github/workflows/setup.yml#L55-L82

    显然也是可以同步到 gitee 以及任何一个支持 git 的平台的。

    4 replies    2021-12-10 15:25:42 +08:00
    lengyihan
        1
    lengyihan  
       Sep 27, 2020 via Android
    你这 coding 账号明文吗?
    abersheeran
        2
    abersheeran  
    OP
       Sep 28, 2020
    @lengyihan git 地址是明文。
    lengyihan
        3
    lengyihan  
       Sep 28, 2020 via Android
    @abersheeran 简单写个文档吧,😂😂😂,感觉还挺实用的。
    shenwy
        4
    shenwy  
       Dec 10, 2021
    这个不错,很好~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:50 · PVG 04:50 · LAX 13:50 · JFK 16:50
    ♥ Do have faith in what you're doing.