# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: python:3.5.7 # This line has been updated to a working version

pipelines:
    branches:
        dev:
            - step:
                script:
                    - apt-get update
                    - apt-get -qq install git-ftp
                    - git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://35.236.41.0/www/test.site.store.stylephotos.ca
        master:
            - step:
                  script:
                      - apt-get update
                      - apt-get -qq install git-ftp
                      - git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://35.236.41.0/www/store.stylephotos.ca
