Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>