start with ssh-key docker secret

This commit is contained in:
admin2
2022-11-27 06:40:02 +03:00
parent a382a09f33
commit 391690e908
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
build.sh
README.md
.gitignore
run
+3 -2
View File
@@ -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