我是开放班的新手,我试图让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
任何帮助?