Skip to content

Commit

Permalink
Fix github token (fix for #733).
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Nov 2, 2019
1 parent 13e92d0 commit e65b841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ refs:
run:
name: Post commit status for Storybook
command: |
npx cross-ci :run curl -H "'Authorization: token $GITHUB_TOKEN' -H 'Accept: application/vnd.github.v3+json'" \
"'https://api.github.com/repos/streamich/react-use/statuses/$CIRCLE_SHA1'" -X POST \
npx cross-ci :run curl -H "'Authorization: token \${GITHUB_TOKEN}' -H 'Accept: application/vnd.github.v3+json'" \
"'https://api.github.com/repos/\${PROJECT_OWNER}/\${PROJECT_NAME}/statuses/$CIRCLE_SHA1'" -X POST \
-d "'{\"state\": \"success\", \"context\": \"Storybook\", \"description\": \"\${BUILD_VERSION}\", \"target_url\": \"https://$CIRCLE_BUILD_NUM-154950925-gh.circle-artifacts.com/0/root/repo/storybook-static/index.html\"}'"
jobs:
Expand Down

0 comments on commit e65b841

Please sign in to comment.