Tag Archives: ssh

Deploy using git pull

Automatically pull files from bitbucket git repo upon commit/merge to master. Whenever there’s a need to deploy by means of an automated git pull, without the whole container,  docker registry, aws overhead, the code below works best. exec(“git pull https://username:password@bitbucket.org/company/repo.git master”); Here are the step-by step instructions: Create a user on bitbucket with access to the desired

Read more