diff options
Diffstat (limited to 'contrib/ci/jobs/1-deploy/job.sh')
-rwxr-xr-x | contrib/ci/jobs/1-deploy/job.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ci/jobs/1-deploy/job.sh b/contrib/ci/jobs/1-deploy/job.sh new file mode 100755 index 0000000..062abc1 --- /dev/null +++ b/contrib/ci/jobs/1-deploy/job.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -exuo pipefail + +ARTIFACT_PATH="/artifacts/sandcastle-ng/${CI_COMMIT_REF}/*.tar" + +RSYNC_HOST="taler.host.internal" +RSYNC_PORT=424240 +RSYNC_PATH="incoming" +RSYNC_DEST="rsync://${RSYNC_HOST}/${RSYNC_PATH}" + + +rsync -vP \ + --port ${RSYNC_PORT} \ + ${ARTIFACT_PATH} ${RSYNC_DEST} |