V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
louchenabc
V2EX  ›  程序员

用 Travis CI 发布 Github Pages 是真的方便,求分享 GitHub 心得。

  •  
  •   louchenabc · Jul 7, 2021 · 2014 views
    This topic created in 1763 days ago, the information mentioned may be changed or developed.

    多年前使用 GitHub Pages,还需要自己构建后向仓库推送代码,现在只需要在 Github Marketplace 中安装 Travis CI,在项目里加入一个 .travis.yml 文件简单配置下就可以享受云端的 CI 服务,还是相当方便的。

    推送到 https://github.com/lcomplete/TechShare 上之后,CI 服务自动构建并更新 github pages 分支。

    使用 VuePress 构建的 https://lcomplete.github.io/TechShare/ 网站,使用起来也是挺简单的,多年前用 Octopress 还挺折腾的。

    还有哪些 GitHub 实用心得,求分享。

    9 replies    2021-07-13 08:43:31 +08:00
    abersheeran
        1
    abersheeran  
       Jul 7, 2021   ❤️ 4
    啊这……GitHub action 不好吗
    coolcoffee
        2
    coolcoffee  
       Jul 7, 2021
    同 Github Action,用 action 里面自带的 token,连配置都省了。
    AoEiuV020
        3
    AoEiuV020  
       Jul 7, 2021
    同 Github Action,travis 不是不免费了吗,
    archean
        4
    archean  
       Jul 7, 2021 via iPhone
    已经弃用 travis 改用 GitHub Action 了。
    CEBBCAT
        5
    CEBBCAT  
       Jul 8, 2021
    这时一名 Netlify 用户路过
    Actrace
        6
    Actrace  
       Jul 8, 2021
    微林的 vxServer 可以了解一下
    Desdemor
        7
    Desdemor  
       Jul 8, 2021
    我用的是 Hugo + GitHub Action,本地写完,直接 push 。
    jasonkayzk
        8
    jasonkayzk  
       Jul 9, 2021 via Android
    Travis CI 已经是几年前的东西了。自从 ms 接管了 github,github action 已经封神了!
    myCupOfTea
        9
    myCupOfTea  
       Jul 13, 2021
    @CEBBCAT 一样
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   757 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 21:17 · PVG 05:17 · LAX 14:17 · JFK 17:17
    ♥ Do have faith in what you're doing.