Remove old data files

This commit is contained in:
Reinhard Pointner 2017-03-21 18:20:23 +08:00
parent 0a9b139256
commit 5378034606
1 changed files with 4 additions and 3 deletions

View File

@ -962,9 +962,10 @@
<target name="upload-data" description="Upload data files" depends="init"> <target name="upload-data" description="Upload data files" depends="init">
<scp todir="${deploy.website}" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}"> <scp todir="${deploy.website}/data" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}">
<fileset dir="${dir.website}"> <fileset dir="${dir.website}/data">
<include name="data/**" /> <include name=".htaccess" />
<include name="*.txt.xz" />
<modified> <modified>
<param name="cache.cachefile" value="${dir.cache}/scp.cache" /> <param name="cache.cachefile" value="${dir.cache}/scp.cache" />
</modified> </modified>