Created
February 6, 2014 00:41
-
-
Save amonger/8836355 to your computer and use it in GitHub Desktop.
Phing Build Remote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="Deploy" default="production" basedir="." description="A deployment Script"> | |
<property name="remote_host" value="host.com"/> | |
<property name="remote_user" value="user"/> | |
<property name="remote_pass" value="pass"/> | |
<target name="production"> | |
<exec command="cd site" /> | |
<echo msg="Pulling down latest git version"/> | |
<exec command="git pull" /> | |
<echo msg="Updating dependancies"/> | |
<exec command="composer.phar update" /> | |
<echo msg="Dumping autoload"/> | |
<exec command="composer.phar dump-autoload -o" /> | |
<echo msg="Clearing the cache"/> | |
<exec command="rm -rf ./cache/*" /> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment