V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
KalaSearch

[效率++] 用心教程: 如何用 Github Actions 大幅提高开发/部署开发效率

  •  
  •   KalaSearch · Jan 1, 2020 · 2737 views
    This topic created in 2318 days ago, the information mentioned may be changed or developed.

    Github Actions 是什么,能吃么?

    Github Actions 是 Github 近期推出的 CI/CD 工具,如果你是个人开发者或者在中(缺)小(运)型(维)公司的话,这个工具也许可以极大地帮助你提高开发和部署效率,相当于免费获得一批可以用来编译、测试和构建的服务器。

    而且 Actions 使用起来非常简单,新手友好且几乎免费!经过一段试用时间,我们感觉非常顺手,强烈推荐给大家

    怎么上手?

    我们趟了一段时间坑,把所有 Jenkins 里的服务迁了过去。

    鉴于它还非常新,资料不多,我整理了一个简单的 repo 放到 github 上,希望可以帮助大家上手。如果你有 10-15 分钟左右,一步步照着做即可上手。

    如果想看详细一些的文字教程,请参考 Github Actions 上手教程文字版 kalasearch.com/github-actions-simple-tutorial/

    如果想直接看对应代码的话,请戳:Github Actions 上手教程 -> github.com/Kalasearch/github-actions-tutorial

    第一次在 v2 分享技术博客,如果大家喜欢的话,请留言或者点赞告诉我~

    祝大家新的一年里一切顺利,效率++ Bug--!!

    coloz
        1
    coloz  
       Jan 1, 2020
    我们现在就是用的 github actions,但部署到国内主机非常之慢。。。
    ysicing
        2
    ysicing  
       Jan 1, 2020 via iPhone
    @coloz 可以自建。

    actions 感觉最好自己 fork 一份,之前遇到使用的开源 actions 改名了🐶
    KalaSearch
        3
    KalaSearch  
    OP
       Jan 2, 2020
    @ysicing 好建议
    KalaSearch
        4
    KalaSearch  
    OP
       Jan 2, 2020
    @coloz 可能云厂商之间有区别,从 github 到某里云传输速度极快
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3224 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 621ms · UTC 14:38 · PVG 22:38 · LAX 07:38 · JFK 10:38
    ♥ Do have faith in what you're doing.