Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-caprioara committed Mar 20, 2018
1 parent d19d284 commit c02f68c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions build-deploy-webhelp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<project name="deploy-private" default="private">


<target name="private">
<property name="userguide.server">userguide.sync.ro</property>
<property name="userguide.server.dir">/var/www/userguide</property>
<property name="output.dir">webhelp-responsive-public</property>

<sshexec host="${userguide.server}" username="${userguide.server.user}" trust="yes" password="${userguide.server.password}" failonerror="false"
command="find ${userguide.server.dir} -maxdepth 1 -mindepth 1 -type d -exec rm -rf '{}' \;" />


<scp remoteTodir="${userguide.server.user}:${userguide.server.password}@${userguide.server}:${userguide.server.dir}/" trust="yes">
<fileset dir="${project.build.directory}/output/${output.dir}" />
</scp>

</target>

<target name="public">
<!-- Check for similarities with the private one. -->
</target>


</project>

0 comments on commit c02f68c

Please sign in to comment.