HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
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"