I am trying to deploy a PHP application using subversion and post-commit script. I was looking for how to write a post-commit script, but I can't get it to work.
Configuration: I have svn folder installed on my server (OVH) in homeX.XX/svn/test/
My post-commit script should export to homeX.XX/dev/
I do not know how to write the correct path when using
#!/bin/bash
mkdir dev
chmod 777 dev
svn export svn+ssh://XXXXX@www.xxxx.com/homeX.XX/XXX/svn/test dev
in my POST-COMMIT script. I searched for the answers but could not find ...
source
share