Skip to content

Instantly share code, notes, and snippets.

@kainiklas
Last active January 24, 2018 23:08
Show Gist options
  • Select an option

  • Save kainiklas/60559c626c712b11e17274c63c96f22c to your computer and use it in GitHub Desktop.

Select an option

Save kainiklas/60559c626c712b11e17274c63c96f22c to your computer and use it in GitHub Desktop.
Example of a PHPPloy configuration for CakePHP
[production]
scheme = ftp
user = 'username'
host = 'demo.com'
path = '/'
ssl = true
; files that should be ignored and not uploaded to the server, but are still tracked in git
exclude[] = 'config/schema/*'
exclude[] = 'tests/*'
exclude[] = '.editorconfig'
exclude[] = '.gitattributes'
exclude[] = '.travis.yml'
exclude[] = 'composer.json'
exclude[] = 'composer.lock'
; Files that are ignored by git, but you should be send to server
include[] = 'vendor/*'
; Filed that should be deleted on the server
purge[] = "tmp/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment