https://github.com/fuzhengwei/guide-webhooks
guide-webhooks
https://github.com/fuzhengwei/guide-webhooks
Last synced: 2 months ago
JSON representation
guide-webhooks
- Host: GitHub
- URL: https://github.com/fuzhengwei/guide-webhooks
- Owner: fuzhengwei
- License: apache-2.0
- Created: 2021-11-07T05:00:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T01:07:12.000Z (over 3 years ago)
- Last Synced: 2025-03-25T06:02:01.202Z (3 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# guide-webhooks - 自动部署博客,教程文档
- 详细文档:[https://mp.weixin.qq.com/s/VtTHUfyiITNSoGy052jkXQ](https://mp.weixin.qq.com/s/VtTHUfyiITNSoGy052jkXQ)
- 视频教程:[https://www.bilibili.com/video/BV11S4y1d7hS/](https://www.bilibili.com/video/BV11S4y1d7hS/)## 操作步骤
1. 安装Git:`yum -y install git`
2. 开启php.ini配置模块中的 exec、shell_exec
3. 开启www:`www:x:1000:1000::/home/www:/sbin/nologin` = `bin/bash`
4. 切换 www 用户
5. 生产公钥:ssh-keygen -t rsa -C "你自己的邮箱.com" 确认3次
6. 配置公钥:https://github.com/settings/ssh/new
7. 克隆站点:`[email protected]:fuzhengwei/guide-webhooks.git`
8. 配置 webhooks,在Github对应的代码库上