The Little Guy Posted January 8, 2011 Share Posted January 8, 2011 I am having trouble using a post commit. File: /svn/trucker/hooks/post-commit #!/bin/bash wget --http-user=user --http-passwd=pass -qO - http://truck.ryannaddy.com/cgi-bin/pri/do_update.cgi basically when I commit something, it doesn't run that file (I think). If it does run the file, it looks like this: #!/bin/sh set -f echo "Content-type: text/plain; charset=iso-8859-1" echo /usr/bin/svn update /home/ryannaddy/truck.ryannaddy.com Anyone see anything wrong? Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/ Share on other sites More sharing options...
trq Posted January 8, 2011 Share Posted January 8, 2011 [quite]Anyone see anything wrong?[/quite] I wouldn't be using a svn working copy as a production site, especially if it's being updated from the trunk. Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/#findComment-1156554 Share on other sites More sharing options...
The Little Guy Posted January 8, 2011 Author Share Posted January 8, 2011 this isn't the working site, its just our "dev" I just didn't call it "dev". Link to comment https://forums.phpfreaks.com/topic/223744-svn-post-commit/#findComment-1156703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.