Skip to content

Commit bb65025

Browse files
authored
Set Github token and git username/mail before publishing (#107)
1 parent aec4050 commit bb65025

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

circle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
- deploy:
6969
name: Publish to the SDK registry
7070
command: |
71+
git config --global user.email "MapboxCI@users.noreply.github.com"
72+
git config --global user.name "MapboxCI"
73+
export GITHUB_TOKEN=$(./mbx-ci github writer private token)
7174
if [[ $CIRCLE_BRANCH == master ]] || [[ $CIRCLE_TAG == v* ]]; then
7275
make sdkRegistryUpload
7376
fi

0 commit comments

Comments
 (0)