mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Use docusaurus warning/note syntax instead markdown
This commit is contained in:
@@ -35,7 +35,7 @@ Gitea支持用于仓库事件的Webhooks。这可以在仓库管理员在设置
|
||||
|
||||
以下是 Gitea 将发送给 payload URL的事件信息示例:
|
||||
|
||||
```
|
||||
```http
|
||||
X-GitHub-Delivery: f6266f16-1bf3-46a5-9ea4-602e06ead473
|
||||
X-GitHub-Event: push
|
||||
X-Gogs-Delivery: f6266f16-1bf3-46a5-9ea4-602e06ead473
|
||||
@@ -129,7 +129,7 @@ X-Gitea-Event: push
|
||||
|
||||
现在在你的服务器上创建 php 文件 webhook.php。
|
||||
|
||||
```
|
||||
```php
|
||||
<?php
|
||||
|
||||
$secret_key = '123';
|
||||
|
||||
Reference in New Issue
Block a user