Skip to content

Instantly share code, notes, and snippets.

@frank-laemmer
Created October 10, 2014 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frank-laemmer/ab6a667ed79e73d15497 to your computer and use it in GitHub Desktop.
Save frank-laemmer/ab6a667ed79e73d15497 to your computer and use it in GitHub Desktop.
fortrabbit deployment file
---
# to assure backward compatibility on format changes, specify the version
version: 1
# default strategy is "nodelete", use "fullsync" for full synchronization
strategy: nodelete
# set a list of custom excludes folders/files.
#excludes:
# - app/storage/
# - media/images/
# - media/videos/
# - uploads/
# alternative exclude format (rsync format):
# you can use a .gitignore file, however the rsync format is not 100% compatible
# with the .gitignore pattern and there is a risk (use caution!)
#excludes: my-excludes
# composer settings
composer:
# mode can be "trigger" (default) or "always"
mode: trigger
# method can be "update" (default) or "install"
method: update
# normally dev requirements are ignored (--no-dev), you can enable them:
#include-dev: 1
# per default, composer runs with --prefer-dist.
#prefer-source: 1
# pre deploy actions are run after your commit-set is received but before
# the files are synchronized to your Apps (web)storage
pre-deploy:
# run post deploy PHP script. path is below htdocs/ and optional command line
# args can be added in YAML array notification
script: some-script.php
args:
- arg1
- arg2
# alternatively/additionally an URL can be specified which is called after
# deployment
#url: http://domain.tld/callback
# token which will be send as request header `X-Frbit-Token` to verify that
# the request originated from this post-deploy call (defaults to "unset")
#token: your-own-token
# post deploy actions are run after the files are synchronized to your Apps (web)storage
post-deploy:
# run post deploy PHP script. path is below htdocs/ and optional command line
# args can be added in YAML array notification
script: some-script.php
args:
- arg1
- arg2
# alternatively/additionally an URL can be specified which is called after
# deployment
#url: http://domain.tld/callback
# token which will be send as request header `X-Frbit-Token` to verify that
# the request originated from this post-deploy call (defaults to "unset")
#token: your-own-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment