Skip to content

Commit b67a79c

Browse files
committed
fix: set GH_TOKEN to app token
1 parent 2e90fe0 commit b67a79c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- run:
1919
name: Updating schema
2020
command: |
21-
git clone "https://x-access-token:$(./scripts/github_token.js 290530)@github.com/heroku/typescript-api-schema.git" repo
21+
export GH_TOKEN=$(./scripts/github_token.js 290530)
22+
git clone "https://x-access-token:$GH_TOKEN@github.com/heroku/typescript-api-schema.git" repo
2223
cd repo
2324
yarn
2425
git config --global push.default simple
@@ -46,6 +47,7 @@ jobs:
4647
name: Cutting release
4748
command: |
4849
export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
50+
export GH_TOKEN=$(./scripts/github_token.js 290530)
4951
semantic-release -e @oclif/semantic-release
5052
- save_cache:
5153
key: v2-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}

0 commit comments

Comments
 (0)