2
0
mirror of https://github.com/inventree/demo-dataset.git synced 2025-04-27 21:16:50 +00:00

Import data

This commit is contained in:
Oliver 2021-06-20 10:28:58 +10:00
parent 2aa6062e0d
commit 9f2eba2611
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
env:
INVENTREE_DB_ENGINE: sqlite3
INVENTREE_DB_NAME: inventree_db.sqlite3
INVENTREE_MEDIA_ROOT: /path/to/media
INVENTREE_MEDIA_ROOT: ${{ GITHUB_WORKSPACE }}/path/to/media
steps:
- name: Checkout Code
@ -31,4 +31,5 @@ jobs:
git clone --depth 1 https://github.com/inventree/inventree inventree
cd inventree
invoke install
invoke import-records ${{ GITHUB_WORKSPACE }}/inventree_data.json

3
inventree_data.json Normal file
View File

@ -0,0 +1,3 @@
{
}