Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.29 KB

bitbucket-setup.md

File metadata and controls

27 lines (24 loc) · 1.29 KB

⏳ BitBucket setup guide

  1. Clone autodeploy.js to your server

  2. update REPO folder field in autodeploy.js to point to your project

  3. update relevant commands in autodeploy.js to handle git pull, server restart command

  4. launch the script, it listens at port 888 by default

  5. Head to your BitBucket project repository page and click on Repository settings

Bitbucket setup one

  1. Go to Webhooks and click on Add webhook

Bitbucket setup two

7. Enter the URL for the webhooks, it should be your_url + port 888

Bitbucket setup three

8.Done