...
 
Commits (3)
......@@ -35,6 +35,6 @@ package:
script:
- apk add zip curl cdrkit nodejs npm
- ./scripts/package.sh
- ./scripts/upload.sh "$AUTH_HEADER" Dev
only:
- ./scripts/upload.sh "$AUTH_HEADER" "dev"
except:
- master
#!/bin/sh
UPLOAD_FOLDER="AnimeList"
if [ -z "$1" ]; then
echo "No Dropbox API token was supplied."
exit 1
fi
if [ -z "$2" ]; then
if [ ! -z "$2" ]; then
UPLOAD_FOLDER="$2"
else
UPLOAD_FOLDER="AnimeList"
fi
for cur in ./package/*; do
......