Hello guys,
I'm new in bitbucket, i want to deploy drupal 7 with bitbucket pipeline but i can't find how to do scripts to setup this deployment.
i'll setup bitbucket on my OVH server and all that i want is to deploy when customer demand to see something on application with drupal 7, i will deploy it with this bitbucket service and show where i'm on developpement.
Thanks to all ;) .
Ps : sorry for my bad english!
Do you have SSH access to your server? You can use Drush, and Drush aliases to create a remote session and do common Drupal operations like features import, update.php, and database backups.
Alternatively you can include scripts in your repository, and run scripts remotely with this syntax https://superuser.com/questions/1117779/execute-a-remote-script-on-a-remote-computer-via-ssh?rq=1
To set up a deployment key, and ssh access, you'll want to consult https://bitbucket.org/blog/deployment-keys
Also note: drush versioning is weird. Drush 9 is for new versions of drupal 8, drush 8 works with both drupal 8 and drupal 7. You probably want drush 8, but your hosting provider might have drush 7, in which case you should install that version.
Refer to the matrix on this documentation for which versions are supported and you can use. https://docs.drush.org/en/master/install/ It's a bit confusing.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.