Created
July 11, 2017 10:52
-
-
Save ValeriiVasyliev/c40aa49f374fd2f05fa2fb06de2b353c to your computer and use it in GitHub Desktop.
bitbucket-pipelines-ftp-push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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