Update worker.sh

This commit is contained in:
probonopd authored and GitHub committed 2017-08-07 19:00:46 +02:00
1 parent ee10ad7a5e
commit 6ad273568c
1 file changed
+2 -1
+2 -1
View File
@@ -1,5 +1,7 @@
#!/bin/bash
git checkout master
URL=$(cat $1 | head -n 1)
echo $URL
@@ -101,7 +103,6 @@ find database/ -type f -exec cat {} \;
# https://gist.github.com/willprice/e07efd73fb7f13f917ea
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git checkout master
( cd database/ ; git add . ) # Recursively add everything in this directory
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER [ci skip]"
( set +x ; git remote add deploy https://${GITHUB_TOKEN}@github.com/AppImages/AppImageHub.git > /dev/null 2>&1 )