openshift post_deploy动作钩子不起作用

时间:2015-08-12 23:39:17

标签: git openshift

我是开放班的新手,我试图让post_deploy动作挂钩工作。我已经创建了post_deploy文件,然后我尝试了

git update-index --chmod=+x .openshift/action_hooks/* (not working)

git update-index --chmod=+x .openshift/action_hooks/post_deploy (worked)

但是,当我git push时,我收到此错误:

remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: [my_id] (Error activating gear: No such file or directory - /var/lib/openshift/[my_id]/app-root/runtime/repo/.openshift/action_hooks/post_deploy

任何帮助?

0 个答案:

没有答案