Last active
August 29, 2015 14:17
-
-
Save ssherar/259ca2b66160d2a74586 to your computer and use it in GitHub Desktop.
Config for a hook receive library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
all: | |
return: "Request worked" | |
on_error: "Shit failed {error_msg}" | |
create: | |
pulL_repo: true | |
delete: | |
pull_repo: true | |
pull_request: | |
pull_repo: true | |
ping: | |
pull_repo: false | |
return: "PONG: {datetime}" | |
push: | |
pull_repo: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simple: | |
dir: "/var/www/simple" | |
push: | |
actions: | |
- "cd dir" | |
- "git pull" | |
- "jekyll build" | |
extended: | |
dir: "/var/www/extended" | |
push: | |
actions: | |
- "jekyll build" | |
return: "Push handler for extended worked! " | |
on_error: "extended failed. Reason: {error_msg}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment