Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scriptburn/git-auto-deploy
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
https://github.com/scriptburn/git-auto-deploy
auto-deployment bitbucket deploy deploy-tool deployment deployment-manager gitlab php-deployment-script webhook
Last synced: 13 days ago
JSON representation
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
- Host: GitHub
- URL: https://github.com/scriptburn/git-auto-deploy
- Owner: scriptburn
- Created: 2017-06-30T19:51:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T22:10:25.000Z (about 1 year ago)
- Last Synced: 2024-08-01T16:33:12.213Z (3 months ago)
- Topics: auto-deployment, bitbucket, deploy, deploy-tool, deployment, deployment-manager, gitlab, php-deployment-script, webhook
- Language: PHP
- Size: 598 KB
- Stars: 313
- Watchers: 17
- Forks: 72
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-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-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
![Settings](https://github.com/scriptburn/git-auto-deploy/raw/master/img/settings.png "Settings")* 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 pagePre/Post Hook script
--------------------
You can check `sample-post-hook.php` for sample code used in a post hook script### Login Page
![Login page](https://github.com/scriptburn/git-auto-deploy/raw/master/img/login-form.png "Login page")### Projects list page:
* Search By project name,status and repository type (GitHub ,BitBucket, GitLab)
![Projects list page](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-list.png "Projects list page")### 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
![Projects Form](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-form.png "Projects Form")### Deployment log
* View Detailed log of last failed or sucessfull deployment
![Deployment log](https://github.com/scriptburn/git-auto-deploy/raw/master/img/deployment-log.png "Deployment log")### Update Profile
* Change your email and password
![Update Profile](https://github.com/scriptburn/git-auto-deploy/raw/master/img/edit-profile.png "Update Profile")### Email setting form
* You can choose how deployment email will be sent , either by native php command or by any external smtp server
![Email setting form](https://github.com/scriptburn/git-auto-deploy/raw/master/img/setting-form.png "Email setting form")