Automated WordPress Deployments With Bitbucket Pipelines

preview_player
Показать описание
Tired of deploying your WordPress changes manually via FTP or SFTP? In this video, I'll show you how to build a deployment pipeline in Bitbucket to deploy your changes automatically out to your server every time you push or merge to master.

We'll be using Bitbucket to do this but it easily translates over to Gitlab, Github, Azure DevOps, or AWS CodePipeline. We'll also discuss some of the built-in integrations that Bitbucket offers to not only deploy your code but to build it, inspect it, and link it with lots of different tools out there.

Hope you enjoy!

**** Join my Slack Dev Community ****

**** I write on Medium ****

**** Learn to Code Blueprint 6 month Course (FREE): Accountability | Clarity | Confidence ****

**** FREE EBOOKS ****

LET'S CONNECT!

#bitbucketpipelines #wordpress #devops
Рекомендации по теме
Комментарии
Автор

The video only covers the file deployment. How do you deploy the database changes? In case of wp it is just as important as file deployment

kissL
Автор

You should use rsync with ssh. It will only upload the file that is changed or better use RSYNC Deploy pipe.

zeeemughal
Автор

This really helped me get an overall picture thanks. I was struggling to get all the bits working together. One thing I don't recall being mentioned here, and might have missed it, was that in my case I'd not set up any 'deployments' (Settings > deployments) so when the first pipeline ran I had an error saying "The environment 'master' in your bitbucket-pipelines.yml doesn’t match any environment defined in your settings" - I'd assumed I needed to use branch name in the 'deployment:' YAML setting becasue Travis had used 'staging' in his. Changing it to the name of one of the default deployment names in Settings > deployments fixed things. Obvious really.

FilmCamerasUK
Автор

Great video, thanks for putting it together! Just wondered if it's possible to have the master push upload to more than one SFTP or FTP account and how?

mikellk
Автор

Very great and easy to follow video. Thank you so much!

dutchInfra
Автор

Excellent! thanks for the tutorial. I've implemented and works great, now have a question. We use gulp for building SASS and JS, how can add these commands in order to compile when I push to the repo?

alejandronarmona
Автор

Great vdo ...
Also upload vdo on bitbucket to windows remote server hosting on IIS ...

boxerbhai
Автор

Perfect tutorial. followed step by step and able to deploy my laravel project first time with pipeline. Thank you. One Question: If you have fresh copy to deploy folders then only files copy and folders don't copy to server and gives "Couldn't canonicalize: No such file or directory" error. Any Idea?

hiteshmakwana
Автор

thanks for the nice video! want to see the aws ec2 case :D

ChrisJack
Автор

Hi travis! Would you make a full playlist on ghost CMS?

mushfikf.rahman
Автор

Can I ask a quick question, since I'm very new to CI/CD and just getting to know the workflow I'm wondering. If I make a Wordpress theme using NPM packages, am I able to just place my package.json file in my repository, than run 'NPM install' and when that's finished push all the files to my server via (S)FTP? Or should I include all my files in the repository?

dutchInfra
Автор

How do you sync database changes from local to remote server or vice versa ?

abhilasha
Автор

Hey, I want to create a pipeline that fetches data from my bitbucket repository and automatically push to my local system in windows. How we can do it. any Guidance?

gungungumber