wordpress Configure bitbucket-pipelines.yml
image: php:7.1.29
pipelines:
branches:
master:
- step:
name: Deploy to production
deployment: production
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp init --user $FTP_username --passwd $FTP_password ftp://ftp.clientsite.com
main-dev:
- step:
name: Deploy to staging
deployment: staging
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp init --user $FTP_username --passwd $FTP_password ftp://ftp.clientsite.com/staging.clientsite.com