fix npm env production
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/cloudflare-pages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/cloudflare-pages.yml
									
									
									
									
										vendored
									
									
								
							@@ -30,8 +30,7 @@ jobs:
 | 
			
		||||
      - name: Build OAuth app
 | 
			
		||||
        run: |
 | 
			
		||||
          cd oauth
 | 
			
		||||
          npm run build
 | 
			
		||||
          
 | 
			
		||||
          NODE_ENV=production npm run build
 | 
			
		||||
      - name: Copy OAuth build to static
 | 
			
		||||
        run: |
 | 
			
		||||
          # Remove old assets (following run.zsh pattern)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user