mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 08:06:10 -07:00
Added verbose
This commit is contained in:
parent
3d4da26ca5
commit
e7bc77c21d
|
@ -28,7 +28,7 @@ ls -la "$CLONE_DIR"
|
||||||
|
|
||||||
echo "Cleaning destination repository of old files"
|
echo "Cleaning destination repository of old files"
|
||||||
# Copy files into the git and deletes all git
|
# Copy files into the git and deletes all git
|
||||||
find "$CLONE_DIR" | grep -v "^$CLONE_DIR/\.git$" | grep -v "^$CLONE_DIR$" | xargs rm -rf # delete all files (to handle deletions)
|
find "$CLONE_DIR" | grep -v "^$CLONE_DIR/\.git$" | grep -v "^$CLONE_DIR$" | xargs rm -vrf # delete all files (to handle deletions)
|
||||||
ls -la "$CLONE_DIR"
|
ls -la "$CLONE_DIR"
|
||||||
|
|
||||||
echo "Copying contents to git repo"
|
echo "Copying contents to git repo"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user