sshca/ci/publish-client.sh

15 lines
268 B
Bash

#!/bin/sh
REPO_HOST=jenkins@files.pyrocufflink.blue
REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora)
ssh-add -l
ssh-add -L
rsync -rtiO \
--chmod=ugo=rwX \
--include '*.rpm' \
--exclude '*' \
cli/ \
"${REPO_HOST}:${REPO_PATH}/"