Created
June 28, 2018 23:46
-
-
Save segovia94/255821d990d76e15c330936dce2f908c to your computer and use it in GitHub Desktop.
Bitbucket Pipelines git-ftp recipe
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
# Push code change to cheap host without git using https://git-ftp.github.io/ | |
image: smartapps/bitbucket-pipelines-php-mysql | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- apt-get update | |
- apt-get -qq install git-ftp # Install git-ftp | |
# - git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://1.1.1.1/public/ # Use this the first time to initialize the repo. | |
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://1.1.1.1/public/ # Change ftp address per site. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment