Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ValeriiVasyliev/c40aa49f374fd2f05fa2fb06de2b353c to your computer and use it in GitHub Desktop.
Save ValeriiVasyliev/c40aa49f374fd2f05fa2fb06de2b353c to your computer and use it in GitHub Desktop.
bitbucket-pipelines-ftp-push
image: php:5.6.30
pipelines:
default:
- step:
script:
- echo "Pipeline Init"
- apt-get update
- apt-get -qq install git-ftp
- echo "Initiating Push"
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://host.com/
- echo "Done Pushing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment