diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index d6dc568c..d922751c 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -10,10 +10,18 @@ pipelines: default: - parallel: - step: - name: Test + name: Initialize Git FTP + script: + - apt-get update + - apt-get -qq install git-ftp + - git ftp init -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL + caches: + - composer + - step: + name: Deploy using Git FTP script: - apt-get update - apt-get -qq install git-ftp - git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL caches: - - composer \ No newline at end of file + - composer