mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 16:16:09 -07:00
Improve error message
This commit is contained in:
parent
9b1e7ac6a5
commit
8e9bfb00e6
|
@ -34,7 +34,7 @@ mv "$CLONE_DIR/.git" "$TARGET_DIR"
|
||||||
|
|
||||||
if [ ! -d "$SOURCE_DIRECTORY" ]
|
if [ ! -d "$SOURCE_DIRECTORY" ]
|
||||||
then
|
then
|
||||||
echo "$SOURCE_DIRECTORY does not exist"
|
echo "ERROR: $SOURCE_DIRECTORY does not exist"
|
||||||
echo "This directory needs to exist when push-to-another-repository is executed"
|
echo "This directory needs to exist when push-to-another-repository is executed"
|
||||||
echo
|
echo
|
||||||
echo "In the example it is created by ./build.sh: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L19"
|
echo "In the example it is created by ./build.sh: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L19"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user