Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #482 from localheinz/fix/owner-change
Browse files Browse the repository at this point in the history
Fix: No need to change the owner all the time
  • Loading branch information
GeeH committed Apr 25, 2015
2 parents 5888957 + 27a2914 commit 6fa664f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@
<exec logoutput="true" checkreturn="true" command="ssh ${ssh.user}@${ssh.host} -p ${ssh.port} 'cd ${project.root}; composer install --no-dev'" />
</target>

<target hidden="true" name="owner-change">
<echo message="Changing owner" />
<exec logoutput="true" checkreturn="true" command="ssh ${ssh.user}@${ssh.host} -p ${ssh.port} 'chown -R www-data:www-data ${project.root}/data'" />
</target>

<target name="deploy" description="Deploys application to production" depends="git-reset, git-pull, composer-install, owner-change">
<target name="deploy" description="Deploys application to production" depends="git-reset, git-pull, composer-install">
<echo message="Successfully deployed to production" />
</target>
</project>

0 comments on commit 6fa664f

Please sign in to comment.