Skip to content

Commit 9caecb0

Browse files
authored
rename token for clarity, workflows cleanup (#2334)
1 parent afb05e6 commit 9caecb0

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

.github/workflows/code-deploy-preview.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
shell: bash
1818
run: bunx vercel --force --token "$VERCEL_TOKEN"
1919
env:
20-
GH_TOKEN: ${{ secrets.GH_TOKEN_PREVIEW }}
2120
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
2221
# https://spectrum.chat/zeit/now/solved-project-linking-and-ci-cd-pipelines~5e6eb62a-9d56-47ac-9e32-0d973a523787
2322
VERCEL_ORG_ID: 'team_IsLEAhLb9cZj6y1Bud9XYmeK'

.github/workflows/code-deploy-producition-quick.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
shell: bash
3030
run: bunx vercel --force --token "$VERCEL_TOKEN" --prod --local-config ./vercel-quick.json
3131
env:
32-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3332
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
3433
BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }}
3534
# https://spectrum.chat/zeit/now/solved-project-linking-and-ci-cd-pipelines~5e6eb62a-9d56-47ac-9e32-0d973a523787

.github/workflows/code-deploy-production.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
shell: bash
2828
run: bunx vercel --force --token "$VERCEL_TOKEN" --prod
2929
env:
30-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3130
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
3231
BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }}
3332
# https://spectrum.chat/zeit/now/solved-project-linking-and-ci-cd-pipelines~5e6eb62a-9d56-47ac-9e32-0d973a523787

pages/api/proxy/github-funding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
2525
method: 'POST',
2626
headers: {
2727
'Content-Type': 'application/json',
28-
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
28+
Authorization: `Bearer ${process.env.CLIENT_GITHUB_TOKEN}`,
2929
},
3030
body: JSON.stringify({
3131
query: GitHubRepositoryFundingQuery,

0 commit comments

Comments
 (0)