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

Clean up after deployment

parent 5213c0a6
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,8 @@ USAGE="$0 <FILE/DIR>" ...@@ -11,7 +11,8 @@ USAGE="$0 <FILE/DIR>"
DIR=$(basename ${TRAVIS_SLUG})-${TRAVIS_BRANCH} DIR=$(basename ${TRAVIS_SLUG})-${TRAVIS_BRANCH}
[ -z $DIR ] && echo "Travis env not found" && exit 1 [ -z $DIR ] && echo "Travis env not found" && exit 1
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 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
rm -rf $DIR 2>/dev/null
mkdir -p ${DIR} mkdir -p ${DIR}
cp -a $@ ${DIR} cp -a $@ ${DIR}
./curl-dirup.sh https://cloud.foss-ag.de/remote.php/webdav/foss-ag_buildbot foss-ag_buildbot:$PDFPW ${DIR} ./curl-dirup.sh https://cloud.foss-ag.de/remote.php/webdav/foss-ag_buildbot foss-ag_buildbot:$PDFPW ${DIR}
rm -rf $DIR 2>/dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment