Skip to content

Commit

Permalink
fix: wrong name
Browse files Browse the repository at this point in the history
  • Loading branch information
kosenda committed Mar 20, 2024
1 parent ea9e70a commit adfcc61
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ jobs:
command: |
file_size=$(find ./app/build/outputs/roborazzi -type f | grep -e '.*_compare.png' | wc -l | sed -e 's/[^0-9]//g')
if [ $file_size -ne 0 ]; then
git config --global user.name "$GITHUB_USER"
git config --global user.name "$GITHUB_NAME"
git config --global user.email "$GITHUB_EMAIL"
git push origin --delete companion_$BASE_BRANCH_NAME || true
Expand All @@ -297,16 +297,11 @@ jobs:
ls -A | grep -v -E './app/build/outputs/roborazzi/*' | grep -v -x '.git' | xargs rm -rf
git add -A
echo "commit"
git commit -m "Add screenshot diff"
echo "push"
git config --global user.name "$GITHUB_USER"
git config --global user.email "$GITHUB_EMAIL"
git push origin HEAD:companion_$BASE_BRANCH_NAME -f
fi
workflows:
test:
jobs:
Expand Down

0 comments on commit adfcc61

Please sign in to comment.