Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Jun 29, 2024
1 parent 8b835ee commit 58f2f70
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/actions/templates/moveFiles/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,32 @@ runs:
# Switch branch
git checkout -b ${{ inputs.targetBranchName }} --track origin/${{ inputs.targetBranchName }}
echo '---'
# Remove all files
# git rm -r .
# git reset
git rm -r .
echo '---'
git reset
echo '---'
ls -al
echo '---'
# Checkout directory and move files
git checkout ${{ inputs.sourceBranchName }} -- ${{ inputs.targetBranchName }}
ls -al
echo '---'
rsync --recursive --update ${{ inputs.sourceBranchName }} .
echo '---'
ls -al
# Clean up
Expand Down

0 comments on commit 58f2f70

Please sign in to comment.