rodrigodesouza / laravel-autodeploy
Requires
README
文档不完整。如需获取正确的说明,请联系我们。 rd7.rodrigo@gmail.com
https://packagist.org.cn/packages/rodrigodesouza/laravel-autodeploy
AUTODEPLOY //要下载更新的分支;默认:production AUTODEPLOY=production, developer, master... DEPLOY_DE=//工作分支。默认:master DEPLOY_PARA=//要发送部署的分支。默认 production
部署命令:php artisan deploy:push "必需的提交信息" --to=//可选。放置要发送此部署的分支名称。默认:production
在 Gitlab 中创建 ssh 密钥
GITLAB https://docs.gitlab.com/ee/ssh/
1 - 生成 RSA 类型的 SSH 密钥
- ssh-keygen -o -t rsa -b 4096 -C "email@example.com" //可以是网站的邮箱以标识密钥。不要设置密码。
您的标识已保存在 /home/unioconsultorios/.ssh/id_rsa。您的公钥已保存在 /home/unioconsultorios/.ssh/id_rsa.pub。
2 - 现在,将新创建的公钥添加到您的 GitLab 账户中。打开文件 id_rsa.pub vi /home/unioconsultorios/.ssh/id_rsa.pub
在 gitlab 设置 -> SSH 密钥
添加新密钥
3 - 在服务器上下载项目
http://www.unioconsultorios.com.br/api/webhook
AUTODEPLOY="producao"
bitbucketserver(即将推出) https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.html
laravel-autodeploy
#此文档正在开发中
Laravel 项目自动部署...