在 Git 推送事件或 Web 钩子上自动部署您的 GitHub、GitLab 或 Bitbucket 项目
With Composer composer create-project --no-interaction scriptburn/git-auto-deploy my-app
Or simply download and unzip from github
Suggest you to create a subdomain like deploy.example.com
open app\settings.php and update db, git_path, composer_path according to your server
Make sure to add webserver user's public ssh keys in GitHub, BitBucket, GitLab
Login to your ssh as the same user as your webserver process is running and issue these commands And accept 'Yes' after you have added your public ssh keys to GitHub, BitBucket, GitLab
$ ssh [email protected]
$ ssh [email protected]
$ ssh [email protected]
$ pbcopy /webhook** as WebHook url in appropriate repository
Default login and password is admin and admin
Now Create a new project and appropriate details and you are ready to go
After you push the changes to your remote repo deployment process in your server will start and if you entered your email in project form you will get detailed deployment log or you can check last deployment log any time by visting project list page
You can check sample-post-hook.php for sample code used in a post hook script
暂无开放 Issues,或尚未同步最近议题。