Add "repository" option for custom repository path

This commit is contained in:
Ivan Yelizariev
2019-12-10 17:02:34 +05:00
parent d338d7dd00
commit d3ceacae7d
3 changed files with 13 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ EOF
git config --global user.name "GitHub Actions"
}
echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY";
cd $INPUT_REPOSITORY
# This section only runs if there have been file changes
echo "Checking for uncommitted changes in the git working tree."
if [[ -n "$(git status -s)" ]]