Good day. Tell me, if the branch on the bitback, how to set up a web hook, so that when you make changes, they are automatically transferred to the server?

  • You can read about WebHooks in BitBucket here: confluence.atlassian.com/bitbucket ... and here: blog.bitbucket.org/2015/06/24/the-new-bitbucket-webhooks But I didn’t quite understand what should be transferred ? If you push to the remote repository (to the BitBucket server), the changes will be on the server anyway. - lospejos
  • I mean the project is on bitbucket, and the site itself on blabla.ru. I want that when making changes to the beatback, the updated files are sent to the hosting. - Eugene Dudnik
  • Such tasks, it seems to me, relate to the topic of CI (continuous integration). For example: there is a git server (BitBucket), there is a server / service for auto-assembly / testing (for example, Jenkins), and there is a working server where the project works (blabla.ru website). When committing to the repository in the master branch, Jenkins runs automatic testing scripts (if any), if the tests have passed normally, it starts the deployment process (installing / updating the code on the server). - lospejos
  • Theoretically, on the server (website, blabla.ru) you can place a git client + set of sh-files that will perform the functions of an integration server (listen to web hooks and update updated files from git) - lospejos

0