no message
This commit is contained in:
parent
e1293a81ca
commit
d3a3651805
@ -42,7 +42,7 @@ DB_CONNECTION=mariadb
|
|||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=github
|
DB_DATABASE=github
|
||||||
DB_USERNAME=hotdog
|
DB_USERNAME=github
|
||||||
DB_PASSWORD=hotshotgg
|
DB_PASSWORD=hotshotgg
|
||||||
|
|
||||||
SESSION_DRIVER=database
|
SESSION_DRIVER=database
|
||||||
|
|||||||
@ -255,10 +255,6 @@ class CronController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->sPull == "n") {
|
|
||||||
exit("\n 不提交");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 请求cfn,更新订阅文件
|
// 请求cfn,更新订阅文件
|
||||||
// 不管是是否真更新,cfn那边没更新就返回昨天的文件,一样用。
|
// 不管是是否真更新,cfn那边没更新就返回昨天的文件,一样用。
|
||||||
$sFnCode = date("Ymd");
|
$sFnCode = date("Ymd");
|
||||||
@ -293,6 +289,10 @@ class CronController
|
|||||||
|
|
||||||
file_put_contents($this->sProjectPath."/version.text", md5(time()));
|
file_put_contents($this->sProjectPath."/version.text", md5(time()));
|
||||||
|
|
||||||
|
if ($this->sPull == "n") {
|
||||||
|
exit("\n 不提交");
|
||||||
|
}
|
||||||
|
|
||||||
// 提交
|
// 提交
|
||||||
if ($this->sSendTg == "n") {
|
if ($this->sSendTg == "n") {
|
||||||
$content = file_get_contents($this->sProjectPath."/README.md");
|
$content = file_get_contents($this->sProjectPath."/README.md");
|
||||||
|
|||||||
@ -17,15 +17,16 @@ ssh目录
|
|||||||
cd .ssh
|
cd .ssh
|
||||||
|
|
||||||
ssh安装
|
ssh安装
|
||||||
sudo apt update
|
sudo apt update &&
|
||||||
sudo apt install openssh-client
|
sudo apt install openssh-client &&
|
||||||
ssh-keygen -t rsa -b 4096 -C "danbiandan@outlook.com"
|
ssh-keygen -t rsa -b 4096 -C "xibanyahu@outlook.com"
|
||||||
生成地址写 /var/www/.ssh/id_rsa_邮箱不要后缀 dahuaidan123123
|
提示生成地址写 /var/www/.ssh/id_rsa_xibanyahu
|
||||||
|
(邮箱不要后缀)
|
||||||
别忘了权限
|
别忘了权限
|
||||||
|
|
||||||
ssh权限
|
ssh权限
|
||||||
chown -R www-data:www-data /var/www/.ssh
|
chown -R www-data:www-data /var/www/.ssh &&
|
||||||
chmod 700 /var/www/.ssh
|
chmod 700 /var/www/.ssh &&
|
||||||
chmod 600 /var/www/.ssh/*
|
chmod 600 /var/www/.ssh/*
|
||||||
|
|
||||||
www创建
|
www创建
|
||||||
@ -75,9 +76,10 @@ nginx配置
|
|||||||
测试:https://github-sg01.diaodu.us/test/hello
|
测试:https://github-sg01.diaodu.us/test/hello
|
||||||
|
|
||||||
去tg上配置他
|
去tg上配置他
|
||||||
|
/hub#list
|
||||||
|
|
||||||
tg测试
|
tg测试
|
||||||
测试 %test#cron__id 1
|
测试 /test#cron__id 1
|
||||||
到SSH config updated successfully.
|
到SSH config updated successfully.
|
||||||
到git push -u origin main错误,就基本ok了,到linux上提交确认kownhost
|
到git push -u origin main错误,就基本ok了,到linux上提交确认kownhost
|
||||||
sudo -u www-data git add .
|
sudo -u www-data git add .
|
||||||
@ -131,3 +133,49 @@ git config --global --add safe.directory /www/wwwroot/github-2.diaodu.us
|
|||||||
可一次运行可能需要777权限
|
可一次运行可能需要777权限
|
||||||
|
|
||||||
iphonevpn clash telegram nefilx vpn vless clashmeta vmess surge ssr
|
iphonevpn clash telegram nefilx vpn vless clashmeta vmess surge ssr
|
||||||
|
|
||||||
|
|
||||||
|
======
|
||||||
|
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"user_name": "jichangtuijian99", // github的username
|
||||||
|
"project_name": "jichangtuijian99.github.io", // 这个应该是本地文件名,应该随便取也行
|
||||||
|
"mail_name": "dabiandan", // github注册的email,只要前面
|
||||||
|
"mail_tail": "outlook.com", // 后面
|
||||||
|
"sale_code": "clashv2rayfree.com", // 销售码
|
||||||
|
"sale_rate": 7, // 销售折扣
|
||||||
|
"sale_price": 8, // 折后价格
|
||||||
|
"i_in10": "false", // 模式选一 :: 每10分钟
|
||||||
|
"inday_count": 3, // 模式选一 :: 一天几次(随机)
|
||||||
|
"cron_condition": "false", // 模式选一 :: 算数
|
||||||
|
"mod": "fn_jctj_a", // blade mod
|
||||||
|
"mod_type": "blade", // 现在都是blade
|
||||||
|
"status": 1, // 1运行,0不运行
|
||||||
|
"memo": "",
|
||||||
|
"ship_code": "fuuu",
|
||||||
|
"fn_www": "clashfreenode.com",
|
||||||
|
"show_huodong": 1,
|
||||||
|
"show_error": 1
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"user_name": "xibanyahu",
|
||||||
|
"project_name": "xibanyahu.github.io",
|
||||||
|
"mail_name": "xibanyahu",
|
||||||
|
"mail_tail": "outlook.com",
|
||||||
|
"sale_code": "clashfreenode.com",
|
||||||
|
"sale_rate": 7,
|
||||||
|
"sale_price": 8,
|
||||||
|
"i_in10": "false",
|
||||||
|
"inday_count": 3,
|
||||||
|
"cron_condition": "false",
|
||||||
|
"mod": "test",
|
||||||
|
"mod_type": "blade",
|
||||||
|
"status": 1,
|
||||||
|
"memo": "",
|
||||||
|
"ship_code": "fuuuu",
|
||||||
|
"fn_www": "clashfreenode.com",
|
||||||
|
"show_huodong": 0,
|
||||||
|
"show_error": 1
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user