mirror of
https://github.com/inventree/demo-dataset.git
synced 2025-04-27 21:16:50 +00:00
env var fix
This commit is contained in:
parent
9f2eba2611
commit
51154c67f3
4
.github/workflows/import_data.yaml
vendored
4
.github/workflows/import_data.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
env:
|
||||
INVENTREE_DB_ENGINE: sqlite3
|
||||
INVENTREE_DB_NAME: inventree_db.sqlite3
|
||||
INVENTREE_MEDIA_ROOT: ${{ GITHUB_WORKSPACE }}/path/to/media
|
||||
INVENTREE_MEDIA_ROOT: $GITHUB_WORKSPACE/path/to/media
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
@ -31,5 +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
|
||||
invoke import-records $GITHUB_WORKSPACE/inventree_data.json
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user