mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +00:00 
			
		
		
		
	test with env file
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							@@ -28,10 +28,15 @@ jobs:
 | 
			
		||||
      - name: Install dependencies for website
 | 
			
		||||
        run: npm install --prefix website
 | 
			
		||||
 | 
			
		||||
      - name: Create env file
 | 
			
		||||
        run: |
 | 
			
		||||
          touch website/.env
 | 
			
		||||
          echo PUBLIC_MAPBOX_TOKEN=${{ secrets.PUBLIC_MAPBOX_TOKEN }} >> website/.env
 | 
			
		||||
          cat website/.env
 | 
			
		||||
 | 
			
		||||
      - name: Build website
 | 
			
		||||
        env:
 | 
			
		||||
          BASE_PATH: '/${{ github.event.repository.name }}'
 | 
			
		||||
          PUBLIC_MAPBOX_TOKEN: ${{ secrets.PUBLIC_MAPBOX_TOKEN }}
 | 
			
		||||
        run: |
 | 
			
		||||
          npm run build --prefix website
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user