File: /datos/www/embajadasyconsulados.procolombia.co/public_html/bitbucket-pipelines.yml
#for your build environment.
#image: qdata/qciagent
image: qdata/qciagent:master-php7
pipelines:
branches: #The branch section is a container for all branch-specific pipelines
master:
- step:
script:
- export HOST="ftp.ord1-1.websitesettings.com"
- export TARGETFOLDER="/web/content"
- export SOURCEFOLDER='.'
- export FTPUSER=$FTPUSER
- export FTPPSWD=$FTPPASS
- /bin/bash /deploy.bash
- echo "In Master Branch"
stage:
- step:
script:
- export HOST="ftp.ord1-1.websitesettings.com"
- export TARGETFOLDER="/web/content"
- export SOURCEFOLDER='.'
- export FTPUSER=$STGFTPUSER
- export FTPPSWD=$STGFTPPASS
# - composer update
# - php artisan october:up
- /bin/bash /deploy.bash
- echo "In Stage Branch"
default:
- step:
script:
- echo "Running on the default job"