Skip to content

Commit

Permalink
Use SRC_ACCESS_TOKEN in scip-typescript uploads (#4146)
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed May 10, 2024
1 parent d3f0c5f commit 88c52d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/scip-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,26 @@ jobs:
${{ runner.os }}-pnpm-store-
- run: pnpm install --frozen-lockfile
- run: pnpm dlx @sourcegraph/scip-typescript index --pnpm-workspaces --no-global-caches

- name: Upload SCIP to Cloud
run: pnpm dlx @sourcegraph/src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
env:
SRC_ENDPOINT: https://sourcegraph.com/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}

- name: Upload SCIP to S2
run: pnpm dlx @sourcegraph/src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
env:
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}

- name: Upload lsif to Dogfood
run: pnpm dlx @sourcegraph/src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
env:
SRC_ENDPOINT: https://k8s.sgdev.org/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOGFOOD }}
- name: Upload lsif to Demo
run: pnpm dlx @sourcegraph/src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
env:
SRC_ENDPOINT: https://demo.sourcegraph.com/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DEMO }}

0 comments on commit 88c52d0

Please sign in to comment.