Skip to content

Commit

Permalink
Remove the use of TARGET_DIRECTORY as we always copy to the root fold…
Browse files Browse the repository at this point in the history
…er (#6006)
  • Loading branch information
nopcoder authored Jun 1, 2023
1 parent d4ea840 commit c47aade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/push-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if [ ! -d "$SOURCE_DIRECTORY" ]; then
exit 1
fi

echo "[+] Copying contents of source repository folder $SOURCE_DIRECTORY to folder $TARGET_DIRECTORY in git repo"
cp -ra "$SOURCE_DIRECTORY"/. "$CLONE_DIR/$TARGET_DIRECTORY"
echo "[+] Copying contents of source repository folder $SOURCE_DIRECTORY to the root folder in the git repo"
cp -ra "$SOURCE_DIRECTORY"/. "$CLONE_DIR/"
cd "$CLONE_DIR"

ORIGIN_COMMIT="https://github.comt/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
Expand Down

0 comments on commit c47aade

Please sign in to comment.