diff --git a/.github/copy_to_branch.sh b/.github/copy_to_branch.sh index d0c6d4a..068e528 100755 --- a/.github/copy_to_branch.sh +++ b/.github/copy_to_branch.sh @@ -20,7 +20,7 @@ git config --global user.email 'action@github.com' # Fetch branches git fetch # Checkout target branch -git checkout $SRC_BRANCH +git checkout $TARGET_BRANCH # copy files from the branch the action is being run upon for F in ${FILES}; do git checkout $SRC_BRANCH -- ${F}