badah
2/17/2017 - 8:53 AM

Roots/sage compile and push to remote server via git ftp

Roots/sage compile and push to remote server via git ftp

# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw 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.
pipelines:
  branches:
    stage:
      - step:
         script:
            - npm install -g npm@latest
            - npm install -g gulp bower
            - npm install
            - bower install --allow-root
            - gulp --production
            - apt-get update
            - apt-get -qq install git-ftp
            - git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://195.211.73.147/public_html/zuiderpolder/wp-content/themes/alloy-sage