V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mytharcher
V2EX  ›  Node.js

写了个在服务器上通过 webhook 自动部署 git 项目的小脚本

  •  
  •   mytharcher · 2015-05-08 00:39:21 +08:00 · 3981 次点击
    这是一个创建于 3270 天前的主题,其中的信息可能已经有所发展或是发生改变。
    5 条回复    2016-03-05 16:13:23 +08:00
    flyhope
        1
    flyhope  
       2015-05-08 08:39:07 +08:00
    顶一下
    no13bus
        2
    no13bus  
       2015-05-08 09:10:17 +08:00
    webhook很好玩。也推荐楼主看下我用webhook写的小玩意:
    https://github.com/no13bus/ohmyrepo
    http://ohmyrepo.ml
    mytharcher
        3
    mytharcher  
    OP
       2015-05-08 10:12:07 +08:00
    @no13bus 看起来的确很好玩,不过暂时还没有写出过辣么流弊的项目要用到 star 统计的啊。。。
    nuc093
        4
    nuc093  
       2015-05-08 15:41:08 +08:00
    经典的头像
    xjx0524
        5
    xjx0524  
       2016-03-05 16:13:23 +08:00
    user:pass 加在 url 里这种形式不能认证通过啊,必须用 Authorization: Basic base64 这种形式才行,但是设置 webhook 时没法这么填
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   919 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:51 · PVG 04:51 · LAX 13:51 · JFK 16:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.