mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 12:51:55 +00:00
chore: Use SRC_ACCESS_TOKEN for uploading indexes (#62593)
This commit is contained in:
parent
f9392f4bab
commit
d24a14f34d
7
.github/workflows/scip-go.yml
vendored
7
.github/workflows/scip-go.yml
vendored
@ -48,18 +48,25 @@ jobs:
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/sourcegraph/sourcegraph
|
||||
env:
|
||||
SRC_ENDPOINT: https://sourcegraph.com/
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}
|
||||
|
||||
- name: Upload scip-go dump to S2
|
||||
working-directory: ${{ matrix.root }}
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/sourcegraph/sourcegraph
|
||||
env:
|
||||
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}
|
||||
|
||||
- name: Upload scip-go dump to Dogfood
|
||||
working-directory: ${{ matrix.root }}
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/sourcegraph/sourcegraph
|
||||
env:
|
||||
SRC_ENDPOINT: https://k8s.sgdev.org/
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOGFOOD }}
|
||||
|
||||
- name: Upload scip-go dump to Demo
|
||||
working-directory: ${{ matrix.root }}
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress -repo=github.com/sourcegraph/sourcegraph
|
||||
env:
|
||||
SRC_ENDPOINT: https://demo.sourcegraph.com/
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DEMO }}
|
||||
|
||||
11
.github/workflows/scip-typescript.yml
vendored
11
.github/workflows/scip-typescript.yml
vendored
@ -43,15 +43,22 @@ jobs:
|
||||
run: src code-intel 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: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|
||||
env:
|
||||
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
|
||||
- name: Upload lsif to Dogfood
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}
|
||||
|
||||
- name: Upload SCIP to Dogfood
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
|
||||
env:
|
||||
SRC_ENDPOINT: https://k8s.sgdev.org/
|
||||
- name: Upload lsif to Demo
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOGFOOD }}
|
||||
|
||||
- name: Upload SCIP to Demo
|
||||
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
|
||||
env:
|
||||
SRC_ENDPOINT: https://demo.sourcegraph.com/
|
||||
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DEMO }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user