Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks

NotificationsYou must be signed in to change notification settings

scriptburn/git-auto-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks

Installation

  • With Composercomposer create-project --no-interaction scriptburn/git-auto-deploy my-app

  • Or simply download and unzip from github

  • Suggest you to create a subdomain likedeploy.example.com

  • open app\settings.php and updatedb, git_path, composer_path according to your serverSettings

  • Make sure to add webserver user's public ssh keys inGitHub, 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 toGitHub, BitBucket, GitLab$ ssh git@github.com$ ssh git@bitbucket.com$ ssh git@gitlab.com

  • $ pbcopy < ~/.ssh/id_rsa.pub

  • Puthttp://< your-domain >/webhook as WebHook url in appropriate repository

  • Default login and password isadmin andadmin

  • 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 checksample-post-hook.php for sample code used in a post hook script

Login Page

Login page

Projects list page:

  • Search By project name,status and repository type (GitHub ,BitBucket, GitLab)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 deploymentProjects Form

Deployment log

  • View Detailed log of last failed or sucessfull deploymentDeployment log

Update Profile

  • Change your email and passwordUpdate Profile

Email setting form

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

About

Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp