This commit is contained in:
		
							parent
							
								
									f5b41dd230
								
							
						
					
					
						commit
						4c6a1a0cb4
					
				| @ -39,6 +39,7 @@ jobs: | |||||||
|                       rooftopenergy/powermeter-frontend:${{ steps.extract_tag.outputs.tag }} |                       rooftopenergy/powermeter-frontend:${{ steps.extract_tag.outputs.tag }} | ||||||
|                   build-args: | |                   build-args: | | ||||||
|                       NEXT_PUBLIC_FASTAPI_URL=${{ secrets.NEXT_PUBLIC_FASTAPI_URL }} |                       NEXT_PUBLIC_FASTAPI_URL=${{ secrets.NEXT_PUBLIC_FASTAPI_URL }} | ||||||
|  |                       NEXT_PUBLIC_GOOGLE_DRIVE_FOLDER_ID=${{ secrets.NEXT_PUBLIC_GOOGLE_DRIVE_FOLDER_ID }}         | ||||||
| 
 | 
 | ||||||
|             - name: SSH and Deploy |             - name: SSH and Deploy | ||||||
|               uses: appleboy/ssh-action@master |               uses: appleboy/ssh-action@master | ||||||
|  | |||||||
| @ -8,8 +8,10 @@ WORKDIR /app | |||||||
| ENV NEXT_TELEMETRY_DISABLED=1 | ENV NEXT_TELEMETRY_DISABLED=1 | ||||||
| 
 | 
 | ||||||
| # Build-time public env hook | # Build-time public env hook | ||||||
| ARG NEXT_PUBLIC_FASTAPI_URL | ARG NEXT_PUBLIC_FASTAPI_URL\ | ||||||
| ENV NEXT_PUBLIC_FASTAPI_URL=${NEXT_PUBLIC_FASTAPI_URL} |     NEXT_PUBLIC_GOOGLE_DRIVE_FOLDER_ID | ||||||
|  | ENV NEXT_PUBLIC_FASTAPI_URL=${NEXT_PUBLIC_FASTAPI_URL}\ | ||||||
|  |     NEXT_PUBLIC_GOOGLE_DRIVE_FOLDER_ID=${NEXT_PUBLIC_GOOGLE_DRIVE_FOLDER_ID} | ||||||
| 
 | 
 | ||||||
| # 1) Install deps with caching | # 1) Install deps with caching | ||||||
| COPY package.json package-lock.json* ./ | COPY package.json package-lock.json* ./ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user