When I created a test DIY application in OpenShift, the action_hooks
worked fine, but now I created an actual application and they just don't fire when I push changes.
I did some investigating, and I found the problem - for some reason the action hooks are not executable. I checked and they were executable in the test application(where they worked) - but now they aren't.
chmod
ing them doesn't help, since every time I push some changes OpenShift copies the new repo folder over the old one(instead of using git to update it), so the permissions are reset. I looked into using git's post-receive
hook to make them executable, but the git hooks on OpenShift are protected and I can't edit them.
Is there any way to solve this problem?
PS. I don't know if it has any impact, but my actual development repo is on Google Code, and I used this tutorial to set the OpenShift repo as an upstream for my local repo.