bitbucket Pipeline php yml template

# 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: samueldebruyn/debian-git

pipelines:
  default:
    - step:
        script:
          - apt-get update
          - apt-get -qq install git-ftp
          - git-ftp push --user $FTP_U --passwd $FTP_P ftp://techlogicians.com/public_html/iamshakeel.xyz/portfolio/messmanagement

# just chand the environment variable for $FTP_U as username and $FTP_P password and the ftp link.
# then "- git-ftp init" for the first time push. 
# then "- git-ftp push" for the rest of the time.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s