From 5a2b5ab33e6aa4a8f13aa8790843079ca3bd5d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 2 Sep 2018 23:26:55 +0200 Subject: alpine-amd64: deploy --- jobs/alpine-amd64.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'jobs') diff --git a/jobs/alpine-amd64.sh b/jobs/alpine-amd64.sh index e5a6df3..a529868 100755 --- a/jobs/alpine-amd64.sh +++ b/jobs/alpine-amd64.sh @@ -53,3 +53,12 @@ uchroot "$ROOT" root "rm -rf /build/aports && chown -R build:build /aports && mv echo_stage "Build packages" uchroot "$ROOT" build buildrepo --purge $(ls "$ROOT/build/aports") + +echo_stage "Deploy" +ssh upload rm -rf "deploy-alpine-amd64" +scp -r "$ROOT/build/packages" upload:deploy-alpine-amd64 +ssh upload /bin/sh -e <