mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	
						commit
						60a3a662e8
					
				
							
								
								
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							| @ -163,7 +163,7 @@ jobs: | ||||
|       #         ---------------------------------------------------------------- | ||||
| 
 | ||||
|       - name: e2e Test ssh-deploy action - Target 1 | ||||
|         uses: easingthemes/ssh-deploy@v3.4.3 | ||||
|         uses: easingthemes/ssh-deploy@v3 | ||||
|         env: | ||||
|           # Shared ENV Vars created in previous steps | ||||
|           REMOTE_USER: ${{ env.TEST_USER }} | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1,3 +1,17 @@ | ||||
| ## [4.0.3](https://github.com/easingthemes/ssh-deploy/compare/v4.0.2...v4.0.3) (2023-01-03) | ||||
| 
 | ||||
| 
 | ||||
| ### Bug Fixes | ||||
| 
 | ||||
| * update v3 e2e test ([450bf42](https://github.com/easingthemes/ssh-deploy/commit/450bf423f388777bde052ad7b5bc24eca392434d)) | ||||
| 
 | ||||
| ## [4.0.2](https://github.com/easingthemes/ssh-deploy/compare/v4.0.1...v4.0.2) (2023-01-03) | ||||
| 
 | ||||
| 
 | ||||
| ### Bug Fixes | ||||
| 
 | ||||
| * add githubWorkspace as default source root ([3ef66d0](https://github.com/easingthemes/ssh-deploy/commit/3ef66d0be999ee45434505e8bedea4f8b5b5a909)) | ||||
| 
 | ||||
| ## [4.0.1](https://github.com/easingthemes/ssh-deploy/compare/v4.0.0...v4.0.1) (2023-01-03) | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "@draganfilipovic/ssh-deploy", | ||||
|   "version": "4.0.1", | ||||
|   "version": "4.0.3", | ||||
|   "description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.", | ||||
|   "main": "dist/index.js", | ||||
|   "files": [ | ||||
|  | ||||
| @ -10,7 +10,7 @@ const githubWorkspace = process.env.GITHUB_WORKSPACE; | ||||
| const remoteUser = process.env.REMOTE_USER; | ||||
| 
 | ||||
| const defaultInputs = { | ||||
|   source: './', | ||||
|   source: '', | ||||
|   target: `/home/${remoteUser}/`, | ||||
|   exclude: '', | ||||
|   args: '-rlgoDzvc -i', | ||||
| @ -30,7 +30,7 @@ inputNames.forEach((input) => { | ||||
|   // eslint-disable-next-line default-case
 | ||||
|   switch (inputName) { | ||||
|     case 'source': | ||||
|       extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : (validVal || './'); | ||||
|       extendedVal = validVal.split(' ').map((src) => `${githubWorkspace}/${src}`); | ||||
|       break; | ||||
|     case 'args': | ||||
|       extendedVal = validVal.split(' '); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipović
						Dragan Filipović