Skip to content

Instantly share code, notes, and snippets.

@sanderson
Created January 31, 2012 21:49
Show Gist options
  • Save sanderson/1713178 to your computer and use it in GitHub Desktop.
Save sanderson/1713178 to your computer and use it in GitHub Desktop.
Sample Deploy Hooks
web1:
after_build:
- "php /scripts/random-script.php"
before_deploy:
- "bash /scripts/migrate-db.sh"
after_deploy:
- "php /clear-cache.php"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment