File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 env :
1212 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
13+ permissions :
14+ contents : write
1315 steps :
1416 - name : Checkout
1517 uses : actions/checkout@v4
@@ -32,15 +34,18 @@ jobs:
3234 run : tar -xzvf db-openai.tar.gz
3335
3436 - name : Build rag
35- run : subql-ai embed-mdx -i docs -o dist -t subql-docs --model text-embedding-3-large --openAiApiKey $OPENAI_API_KEY
37+ run : subql-ai embed -i docs -o dist -t subql-docs --model text-embedding-3-large --openAiApiKey $OPENAI_API_KEY
3638
3739 - name : Tar dist
3840 run : tar -czvf db-openai.tar.gz dist
3941
4042 - name : Commit changes
41- uses : EndBug/add-and -commit@v5
43+ uses : stefanzweifel/git-auto -commit-action @v5
4244 with :
43- message : " Submit Build Rag Data"
45+ commit_message : " Submit Build Rag Data"
46+ branch : build-rag
47+ commit_options : " --no-verify --signoff"
48+ push_options : " --force"
4449 env :
4550 GITHUB_TOKEN : ${{ secrets.REPO_TOKEN }}
4651
You can’t perform that action at this time.
0 commit comments