Created
May 5, 2015 14:58
-
-
Save PiotrCzapla/3f111accf9ab1671c48d to your computer and use it in GitHub Desktop.
This file contains 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" standalone="no"?> | |
<deploymentConfiguration> | |
<logRules maxBytes="32Mb" level="verbose"/> | |
<localNode host="localhost"/> | |
<definition name="PushToGit"> | |
<source> | |
<fileSystem> | |
<remoteDiff area="/tmp/od"> <!-- just a dummy deploy --> | |
<pathSpecification> | |
<path name="."/> | |
</pathSpecification> | |
</remoteDiff> | |
</fileSystem> | |
</source> | |
<target> | |
<targetFilesystem area="/tmp/od"/> | |
<replicationFarmLink> | |
<external name = "FrontendServers"/> | |
</replicationFarmLink> | |
</target> | |
</definition> | |
<deployment transactional="yes"> | |
<execDeploymentTask useDefinition="PushToGit"> | |
<deployNRun> | |
<dnrDeployment location="target" when="after" state="success"> | |
<script cmd="/bin/sh path_to_script.sh" where="/tmp/" as="livesite" async="yes"/> | |
</dnrDeployment> | |
</deployNRun> | |
</execDeploymentTask> | |
</deployment> | |
</deploymentConfiguration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment