Created
January 3, 2019 09:30
-
-
Save joduplessis/bd1965a8e0d4b1cea0c3ecb3f647ce51 to your computer and use it in GitHub Desktop.
Simple BitBucket Pipelines file for pushing recent Git updates to FTP
This file contains 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: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