File tree Expand file tree Collapse file tree 2 files changed +26
-17
lines changed Expand file tree Collapse file tree 2 files changed +26
-17
lines changed Original file line number Diff line number Diff line change 1+ name : ' Upload SCIP to Sourcegraph'
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - run : yarn install
13+ - run : yarn global add ts-node @sourcegraph/src
14+ - run : ts-node src/main.ts index
15+
16+ - name : Upload SCIP to Cloud
17+ run : src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
18+ env :
19+ SRC_ENDPOINT : https://sourcegraph.com/
20+ SRC_ACCESS_TOKEN : ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}
21+
22+ - name : Upload SCIP to S2
23+ run : src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
24+ env :
25+ SRC_ENDPOINT : https://sourcegraph.sourcegraph.com/
26+ SRC_ACCESS_TOKEN : ${{ secrets.SRC_ACCESS_TOKEN_S2 }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments