upadted workflow and gulpfile
This commit is contained in:
		
							parent
							
								
									102a614214
								
							
						
					
					
						commit
						977c45782f
					
				
							
								
								
									
										10
									
								
								.github/workflows/ftpDeploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/ftpDeploy.yml
									
									
									
									
										vendored
									
									
								
							@ -7,6 +7,16 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: 🚚 Get latest code
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
      
 | 
			
		||||
    - name: Use Node.js 12
 | 
			
		||||
      uses: actions/setup-node@v2-beta
 | 
			
		||||
      with:
 | 
			
		||||
        node-version: '12'
 | 
			
		||||
        
 | 
			
		||||
    - name: 🔨Run Gulp
 | 
			
		||||
      run: |
 | 
			
		||||
        npm install
 | 
			
		||||
        npm start
 | 
			
		||||
    
 | 
			
		||||
    - name: 📂 Sync files
 | 
			
		||||
      uses: SamKirkland/FTP-Deploy-Action@4.1.0
 | 
			
		||||
 | 
			
		||||
@ -85,4 +85,4 @@ gulp.task("browserSync", () =>
 | 
			
		||||
	gulp.watch("dist").on("change", browserSync.reload)
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
gulp.task("default", gulp.series(gulp.parallel("watchFiles", "deploy")));
 | 
			
		||||
gulp.task("default", gulp.series(gulp.parallel("minifyHTML", "minifyCSS", "minifyJS", "movePHPFiles")));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user