Hey @noob ,
I asked a similar question a while ago which might be worth having a look at. What worked for me is you would need the code above inside the plugin’s bitbucket repo with
{
"type": "vcs",
"url": "[email protected]:accountname/reponame.git"
}
and
"accountname/reponame":"dev-master"
inside your site’s composer.json file, however others did it slightly differently.
For simplicity’s sake (or to just get this working quickly) nowadays I copy the plugin to the /plugins folder and update the .gitignore in the /site folder to include these folders and check them into git:
# ignore plugins folder
web/app/plugins/*
# but don't ignore these folders (these lines begin with !)
!web/app/plugins/.gitkeep
!web/app/plugins/advanced-custom-fields-pro
!web/app/plugins/gravityforms