V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
stephCurry
V2EX  ›  git

webhooks 能否利用 server 酱发送 commit 的内容

  •  
  •   stephCurry · Jan 6, 2021 · 2075 views
    This topic created in 1947 days ago, the information mentioned may be changed or developed.

    如题,GitHub 的 webhooks,可以通过 payload URL 定义 https://sc.ftqq.com/[SCKEY].send?text=new-commits
    但是,想实现 server 酱推送消息 title 为 commit 的 msg,消息内容为更新的详细信息,这改如何实现?

    能否利用 github action 如 ${{ github.event.head_commit.message }} 这种?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3354 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:02 · PVG 22:02 · LAX 07:02 · JFK 10:02
    ♥ Do have faith in what you're doing.