Skip to content

Commit 599e828

Browse files
author
Daniele Briggi
committed
fix(action): missing db path
1 parent cb6db7a commit 599e828

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ jobs:
1616
with:
1717
connection_string: ${{ secrets.CONNECTION_STRING }}
1818
base_url: https://docs.sqlitecloud.io/docs/
19-
database: sqliterag.sqlite
19+
database_name: aisearch-action-test.sqlite
20+
database_path: sqliterag.sqlite
2021
source_files: docs/sqlite-cloud/sqlite-ai

action.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ inputs:
99
base_url:
1010
description: Your website's documentation base url.
1111
required: true
12-
database:
13-
description: The name of the database to use on SQLite Cloud, just remeber to create first a database on your project!
12+
database_name:
13+
description: The name of the database to use on SQLite Cloud
14+
required: true
15+
database_path:
16+
description: The local path of the database file to upload to SQLite Cloud.
1417
required: true
1518
source_files:
1619
description: The path of the files, by default it will parse every file recursively starting from the working directory.
@@ -90,5 +93,5 @@ runs:
9093
GITHUB_ACTION_PATH: ${{ github.action_path }}
9194
CONNECTION_STRING: ${{ inputs.connection_string }}
9295
DATABASE_PATH: ${{ inputs.database_path }}
93-
DATABASE: ${{ inputs.database }}
96+
DATABASE: ${{ inputs.database_name }}
9497
shell: bash

0 commit comments

Comments
 (0)