mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-09-03 15:35:45 -06:00
Set currentdir param
This commit is contained in:
parent
963893b7a8
commit
84aa28ff89
@ -88,7 +88,7 @@ mv "$CLONE_DIR/.git" "$TEMP_DIR/.git"
|
||||
ABSOLUTE_TARGET_DIRECTORY="$CLONE_DIR/$TARGET_DIRECTORY/"
|
||||
|
||||
echo "[+] Deleting $ABSOLUTE_TARGET_DIRECTORY"
|
||||
$CURRENT_DIR="$(pwd)"
|
||||
CURRENT_DIR="$(pwd)"
|
||||
cd $ABSOLUTE_TARGET_DIRECTORY
|
||||
ls | grep -v $TARGET_DIRECTORY_IGNORED_FILE_NAME | xargs rm -fr
|
||||
cd $CURRENT_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user