Skip to content

Commit ba3a483

Browse files
none: trying to fix circle ci not pushing
1 parent 608c814 commit ba3a483

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.circleci/config.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,19 @@ jobs:
189189
pod install
190190
191191
- run:
192-
name: Configure Git user
193-
command: |
194-
git config --global user.email "[email protected]"
195-
git config --global user.name "CircleCI Build"
196-
192+
name: Debug environment variables
193+
command: |
194+
if [ -n "$GH_RW_TOKEN" ]; then
195+
echo "GH_RW_TOKEN is set"
196+
else
197+
echo "GH_RW_TOKEN is NOT set"
198+
fi
197199
- run:
198200
name: Commit and push Podfile.lock
199201
command: |
200202
git add example/ios/Podfile.lock
201203
git commit -m "chore: update Podfile.lock"
202-
git remote set-url origin https://${GH_RW_TOKEN}@github.com/intercom/intercom-react-native.git
204+
git remote set-url origin https://refactorer-bot:${GH_RW_TOKEN}@github.com/intercom/intercom-react-native.git
203205
git push origin ${CIRCLE_BRANCH}
204206
echo "Podfile.lock committed and pushed"
205207

0 commit comments

Comments
 (0)