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

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

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