summaryrefslogtreecommitdiff
path: root/contrib/ci/jobs/1-deploy/job.sh
blob: 062abc130d3473defe0349e6d452d1964f0b895a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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}