Skip to content

Instantly share code, notes, and snippets.

@MrMMorris
Last active October 19, 2015 14:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save MrMMorris/ba1657dc1dd1c793a4f9 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# Git post-update hook for continuous deployment of test environments
#
/usr/bin/echo "Deploying to test server..."
/usr/bin/curl -X POST https://deploy.company.org -d '{"app_name":"foo","app_env":"sandbox"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment