duanshanduo3363
2016-04-11 08:10
浏览 166

Git Post-Push hook替换build文件夹

I'm working with an AngularJS app that I am hosting on Azure as a Web App.

My repository is on Bitbucket, connected as a deployment slot. I use TortoiseGit as a Windows shell for commit/pull/push. Grunt is my task runner.


Problem: I am not managing to replace the build folder after a push has been made. This is what is being exposed on Azure (see picture):

enter image description here


What I've tried:


Currently my solution is that after a push I'm building using grunt build and connecting through FTP with FileZilla and replacing build folder manually.

How can I automate this?

Thanks in advance.

图片转代码服务由CSDN问答提供 功能建议

我正在使用我作为Web应用程序在Azure上托管的AngularJS应用程序。

我的存储库位于 Bitbucket 上,作为部署插槽连接。 我使用 TortoiseGit 作为 commit / pull / push 的Windows shell。 Grunt 是我的任务选手。


< strong>问题:在推送完成后,我无法替换 build 文件夹。 这是在Azure上公开的内容(参见图片):

\ n


我尝试了什么

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题