Automatic Deploy with git does not work on locaweb

1

Good evening everyone! I'm trying to do an automatic deploy with git directly on the site server in locaweb, however it does not work. I followed several tutorials, but I could not, I can send the files to the repository I created in locaweb, but when I go to check if the files went to the public_html folder, it appears the same way I left.

The content of the post-receive file is this:

#!/bin/sh/
GIT_WORK_TREE=/home/storage/x/xx/xx/sitexxxxxxxx/public_html git checkout -f

Am I setting up the wrong way?

Thank you anyway

    
asked by anonymous 02.07.2016 / 02:48

0 answers