Reenable if condition

This commit is contained in:
Stefan Zweifel 2019-10-26 14:00:59 +02:00
parent d6493da30b
commit 25c0d721b7

View File

@ -30,14 +30,13 @@ then
# Switch to branch from current Workflow run
git checkout $INPUT_BRANCH
# if [ -z ${INPUT_FILE_PATTERN+x} ];
# then
# git add .
# else
# git add $INPUT_FILE_PATTERN
# fi
if [ -z ${INPUT_FILE_PATTERN+x} ];
then
git add .
else
echo "INPUT_FILE_PATTERN value: $INPUT_FILE_PATTERN";
git add $INPUT_FILE_PATTERN
fi
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"