Skip to content
Snippets Groups Projects
Commit 2b670c06 authored by Michael Gajda's avatar Michael Gajda :rat:
Browse files

Add deploy script

parent b1d2021c
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
# 2017 Michael Gajda <draget@speciesm.net>
# See LICENSE for license information
USAGE="$0 <FILE/DIR>"
# check parameter
: ${1?Usage: $USAGE}
DIR=$(basename ${TRAVIS_SLUG})-${TRAVIS_BRANCH}
#wget https://raw.githubusercontent.com/foss-ag/script_curl-dirup/v1.0.0/curl-dirup.sh -O curl-dirup.sh && chmod +x curl-dirup.sh
mkdir -p ${DIR}
cp -a $1 ${DIR}
./curl-dirup.sh https://cloud.foss-ag.de/remote.php/webdav/foss-ag_buildbot foss-ag_buildbot:$PDFPW ${DIR}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment