Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Magnate committed Sep 9, 2024
2 parents 75ec9ab + 059534d commit 6b4fe90
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/bin/bash

DEST_REPO=$1
DEST_REPO_TOKEN=$2
FILE_PATH=$3
FILE_PATH=$2

echo "Starting script execution..."

# Clone the destination repository
echo "Cloning the destination repository: https://github.com/$DEST_REPO.git"
git clone https://$DEST_REPO_TOKEN@github.com/$DEST_REPO.git
# Clone the destination repository using SSH
echo "Cloning the destination repository: git@github.com:$DEST_REPO.git"
git clone git@github.com:$DEST_REPO.git

# Split the destination repository into owner and name
IFS='/' read -ra ADDR <<< "$DEST_REPO"
Expand Down

0 comments on commit 6b4fe90

Please sign in to comment.