<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webhook on Zayn's Blog</title><link>https://blog.treesir.pub/tags/webhook/</link><description>Recent content in Webhook on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Mon, 12 Apr 2021 17:25:58 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/webhook/index.xml" rel="self" type="application/rss+xml"/><item><title>GitLab Pre-receive 钩子的配置与使用指南</title><link>https://blog.treesir.pub/posts/gitlab-pre-receive-webhook/</link><pubDate>Mon, 12 Apr 2021 17:25:58 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/gitlab-pre-receive-webhook/</guid><description>&lt;h2 class="relative group">环境说明
&lt;div id="环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h2 class="relative group">版本信息
&lt;div id="版本信息" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%89%88%e6%9c%ac%e4%bf%a1%e6%81%af" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>GitLab 版本：13.10.2&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>如需了解 GitLab 服务器安装方法，请参考 &lt;a
href="https://www.treesir.pub/post/gitlab-deploy/"
target="_blank"
>安装文档&lt;/a>。本文将详细介绍如何在 GitLab 中添加和配置 &lt;code>pre-receive&lt;/code> 钩子，并演示如何对 &lt;code>git push&lt;/code> 操作进行限制。&lt;/p></description></item></channel></rss>