mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	fix: rebuild
This commit is contained in:
		
							parent
							
								
									2be7efb376
								
							
						
					
					
						commit
						2169399fef
					
				| @ -62,6 +62,8 @@ path to exclude separated by `,`, ie: `/dist/, /node_modules/` | |||||||
| 
 | 
 | ||||||
| Script to run on host machine before rsync. Single line or multiline commands. | Script to run on host machine before rsync. Single line or multiline commands. | ||||||
| Execution is preformed by storing commands in `.sh` file and executing it via `.bash` over `ssh` | Execution is preformed by storing commands in `.sh` file and executing it via `.bash` over `ssh` | ||||||
|  | If you have issues with `ssh` connection, use this var, eg `SCRIPT_BEFORE: ls`. | ||||||
|  | This will force `known_hosts` update, adding your host via `ssh-keyscan`. | ||||||
| 
 | 
 | ||||||
| ##### 10. `SCRIPT_AFTER` (optional, default '') | ##### 10. `SCRIPT_AFTER` (optional, default '') | ||||||
| 
 | 
 | ||||||
| @ -156,6 +158,7 @@ For complex use cases, use `ARGS` and `SSH_CMD_ARGS` to fully configure `rsync` | |||||||
| - If you need to use multiple steps, eg multi targets deployment, save shared ENV variables in `>> $GITHUB_ENV`. | - If you need to use multiple steps, eg multi targets deployment, save shared ENV variables in `>> $GITHUB_ENV`. | ||||||
| Check .github/workflows/e2e.yml for an example | Check .github/workflows/e2e.yml for an example | ||||||
| - For multi sources, use -R ARG to manipulate folders structure. | - For multi sources, use -R ARG to manipulate folders structure. | ||||||
|  | - Great post about `rsync` options specific to usage of this action: https://logansnotes.com/2020/gh-action-site-deploy/ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ## Disclaimer | ## Disclaimer | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic