定制 tech101/gitwebhook 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tech101/gitwebhook

Composer 安装命令:

composer require tech101/gitwebhook

包简介

Package for executing based on trigger

README 文档

README

The webhook package can be used to trigger the git command based on the events that gets by triggered by the gitlab.

Getting started

The package can be installed in the following steps:

Install the package with:

composer require tech101/gitwebhook

Publish the provider

php artisan vendor:publish --provider="Tech101\Webhook\WebhookServiceProvider"

Configuration

Add the following variables to the project environment

DEFAULT_BRANCH="your branch name that you want in your system"
GITLAB_WEBHOOK_TOKEN="token for the webhook that you have set in gitlab"
OR
GITHUB_WEBHOOK_TOKEN="token for the webhook that you have set in github.

Routes

To use the webhook you have to set url based on the following basis

Github
- For pull request: "your_url"/webhook/github/pull-request
- For tag create: "your_url"/webhook/github/tag-create

Gitlab
- For merge request: "your_url"/webhook/gitlab/merge-request
- For tag push: "your_url"/webhook/gitlab/tag-push

统计信息

  • 总下载量: 480
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固