1
0
Fork 0
dchwww/ci/publish.sh

9 lines
292 B
Bash

#!/bin/sh
rsync -rti . ${PUBLISH_USER}@${PUBLISH_HOST}: \
--exclude dist/ --exclude .git
rsync -rti dist/ ${PUBLISH_USER}@${PUBLISH_HOST}:wheelhouse \
--include '*.whl' --exclude '**'
ssh ${PUBLISH_USER}@${PUBLISH_HOST} \
venv/bin/pip install --no-index -f wheelhouse -r requirements.txt