-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 1.02 KB
/
aisearch.yaml
File metadata and controls
40 lines (34 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Process docs for SQLite AI Search
on:
workflow_dispatch:
# push:
# branches:
# - main
# - stage
jobs:
aisearch:
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
permissions:
contents: read
steps:
- uses: actions/checkout@v4
# TEST ------
- name: Clone the SQLite Cloud docs repository
uses: actions/checkout@v4
with:
repository: sqliteai/sqlite-aisearch-action
ref: main
token: ${{ secrets.SQLITE_AISEARCH_ACTION_TOKEN }}
path: sqlite-aisearch-action
- uses: ./sqlite-aisearch-action
with:
connection_string: ${{ secrets.PROJECT_STRING }}
base_url: ${{ vars.BASE_URL }}
database_name: aisearch-action-test.sqlite
# -----------
# - uses: sqlitecloud/sqlite-ai-action@v1
# with:
# project-string: ${{ secrets.PROJECT_STRING }}
# base-url: ${{ vars.BASE_URL }}
# database: documentation_ai.sqlite