mirror of
				https://github.com/inventree/demo-dataset.git
				synced 2025-11-04 15:25:42 +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:
 | 
					    env:
 | 
				
			||||||
      INVENTREE_DB_ENGINE: sqlite3
 | 
					      INVENTREE_DB_ENGINE: sqlite3
 | 
				
			||||||
      INVENTREE_DB_NAME: inventree_db.sqlite3
 | 
					      INVENTREE_DB_NAME: inventree_db.sqlite3
 | 
				
			||||||
      INVENTREE_MEDIA_ROOT: ${{ GITHUB_WORKSPACE }}/path/to/media
 | 
					      INVENTREE_MEDIA_ROOT: $GITHUB_WORKSPACE/path/to/media
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout Code
 | 
					      - name: Checkout Code
 | 
				
			||||||
@@ -31,5 +31,5 @@ jobs:
 | 
				
			|||||||
          git clone --depth 1 https://github.com/inventree/inventree inventree
 | 
					          git clone --depth 1 https://github.com/inventree/inventree inventree
 | 
				
			||||||
          cd inventree
 | 
					          cd inventree
 | 
				
			||||||
          invoke install
 | 
					          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