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

Appearance settings

mtndan/BitBucket-Deploy

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

History of development 
I was working with Bitbucket on my private projects for a long time. I wanted to switch from FTP deployment into GIT. I mean, when I commit something to my private Bitbucket repo I wanted it to appear on my shared webhosting server too, without FTP syncing. 

How script works? 
1. It gets last commits zip 
2. Deletes all files recursively from your web hosting 
3. Unzips .zip file contents into destination folder that you set (By default destination folder is root) 

Installation 
1. Upload deploy.php into your webhosting server 
2. Set your BitBucket username, password and repo name 
3. Configure your private repo to send POST into deploy.php when you commit. Here is how to: http://goo.gl/9weh8 
4. That's it

About

Small PHP script to automatically deploy webserver based on Bitbucket new commit POST.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.