• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ifconfig
V2EX  ›  程序员

请教在 bitbucket 部署了代码,hooks 没生效的问题

  •  
  •   ifconfig · Jul 22, 2014 · 3483 views
    This topic created in 4317 days ago, the information mentioned may be changed or developed.
    如题,我在bitbucket和oschina都添加了hooks,push的时候会POST到web生产环境,但是生产环境代码却没有任何改变。

    1.查看生产环境的Apache access log,能找到bitbucket和oschina的post数据过来的。

    2。引用的Deploy的代码是从拷贝的。直接执行代码也不能pull成功,只能在终端下执行git pull才成功。

    现在我怀疑是权限的问题,但是所有文件夹都设置成777了,请问各位大大是什么问题了?
    小弟git新手一个,谢谢大家多多指教!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   934 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:41 · PVG 06:41 · LAX 15:41 · JFK 18:41
    ♥ Do have faith in what you're doing.