Hello Glenn,

On Thu, Sep 12, 2013 at 3:40 AM, Glenn Patchen <e...@patchworks.net> wrote:
> I'm curious if anyone knows how to setup a Post Commit Hook in VisualSVN
> Server to get AUTO DEPLOYMENT using DeployHQ.com?
>
> Their service gives you a JSON string that needs to be send to a specific
> URL, but I"m not sure how to do that.

You'll need to write your own post-commit hook script that will send
the required string to the URL which DeployHQ gives you. I think that
the hook script will need to check the repository path that's affected
by the commit (in order to trigger auto-deployment only when you
commit to "/trunk", for example) and then send the string to URL. I
regret to say that I can't provide you with anything more specific on
this matter. You can use PowerShell to write such a script or stick to
your favorite programming language to produce an executable for this task.

As usual, you can refer to SVNBook:

"Implementing Repository Hooks":
http://www.visualsvn.com/support/svnbook/reposadmin/create/#svn.reposadmin.create.hooks
"post-commit hook script reference":
http://www.visualsvn.com/support/svnbook/ref/reposhooks/post-commit/

Thank you.

-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at http://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to