start with ssh-key docker secret
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
build.sh
|
||||
README.md
|
||||
.gitignore
|
||||
run
|
||||
|
||||
+3
-2
@@ -134,7 +134,7 @@ getTheme () {
|
||||
if [ -d ./${GITTHEMENAME} ]
|
||||
then
|
||||
cd ./${GITTHEMENAME}
|
||||
gitpull=$(git pull --dry-run --ff-only)
|
||||
gitpull=$(git pull --dry-run --ff-only 2>&1)
|
||||
if [ ! -z ${gitpull} ]
|
||||
then
|
||||
echo "getting new design"
|
||||
@@ -171,7 +171,8 @@ do
|
||||
if [ ${gitstatus} -eq 0 ]
|
||||
then
|
||||
echo "testing for new data"
|
||||
gitpull=$(git pull --dry-run --ff-only)
|
||||
# all outputs from git goes to error output
|
||||
gitpull=$(git pull --dry-run --ff-only 2>&1)
|
||||
if [ ! -z ${gitpull} ]
|
||||
then
|
||||
getTheme
|
||||
|
||||
Reference in New Issue
Block a user