Skip to content

Instantly share code, notes, and snippets.

@joduplessis
Created January 3, 2019 09:30
Show Gist options
  • Save joduplessis/bd1965a8e0d4b1cea0c3ecb3f647ce51 to your computer and use it in GitHub Desktop.
Save joduplessis/bd1965a8e0d4b1cea0c3ecb3f647ce51 to your computer and use it in GitHub Desktop.
Simple BitBucket Pipelines file for pushing recent Git updates to FTP
image: php:7.1.1
pipelines:
branches:
master:
- step:
name: Deploy to FTP
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD your.site/public_html/ -vv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment