scriptburn/git-auto-deploy
소개
Git push 이벤트나 웹훅이 발생하면 GitHub, GitLab 또는 Bitbucket 프로젝트를 자동으로 배포합니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalgit-auto-deploy
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
Installation
With Composer
composer create-project --no-interaction scriptburn/git-auto-deploy my-appOr 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 < ~/.ssh/id_rsa.pub
Put http://< your-domain >/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
Pre/Post Hook script
You can check sample-post-hook.php for sample code used in a post hook script
Login Page

Projects list page:
- Search By project name,status and repository type (GitHub ,BitBucket, GitLab)

Projects Form:
- Options to add custom pre and post deployment script.
- Option to send detailed Deployment status report to provided email
- Mark a project active or inactive
- Run composer update after successfull deployment

Deployment log
- View Detailed log of last failed or sucessfull deployment

Update Profile
- Change your email and password

Email setting form
- You can choose how deployment email will be sent , either by native php command or by any external smtp server

관련 프로젝트 살펴보기
불러오는 중…