mirror of
				https://github.com/inventree/demo-dataset.git
				synced 2025-11-04 07:15:40 +00:00 
			
		
		
		
	env var fix
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user