Skip to content

Instantly share code, notes, and snippets.

@mvaneijgen
Created February 17, 2017 08:53
Show Gist options
  • Save mvaneijgen/58e992643e8496e2b60ef684c29ef43d to your computer and use it in GitHub Desktop.
Save mvaneijgen/58e992643e8496e2b60ef684c29ef43d to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment