Skip to content

Commit bc9e817

Browse files
Pass tokens for uploading SCIP indexes (#134)
1 parent 09ba474 commit bc9e817

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/scip.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,13 @@ jobs:
1717
run: git config --global --add safe.directory $GITHUB_WORKSPACE
1818
- name: Generate SCIP data
1919
run: scip-go
20-
- name: Upload SCIP data
21-
run: src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }}
20+
- name: Upload SCIP to Cloud
21+
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
22+
env:
23+
SRC_ENDPOINT: https://sourcegraph.com/
24+
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}
25+
- name: Upload SCIP to S2
26+
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
27+
env:
28+
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
29+
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}

0 commit comments

Comments
 (0)