mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	Added console.log(process.env)
This commit is contained in:
		
							parent
							
								
									749cc36d5d
								
							
						
					
					
						commit
						733f9fc153
					
				
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -480,7 +480,9 @@ const commandExists = __webpack_require__(677); | |||||||
| const nodeCmd = __webpack_require__(428); | const nodeCmd = __webpack_require__(428); | ||||||
| const nodeRsync = __webpack_require__(250); | const nodeRsync = __webpack_require__(250); | ||||||
| 
 | 
 | ||||||
| const { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; | const vars = { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; | ||||||
|  | 
 | ||||||
|  | console.log(vars); | ||||||
| 
 | 
 | ||||||
| const sshDeploy = (() => { | const sshDeploy = (() => { | ||||||
|     const rsync = ({ privateKey, port, src, dest, args }) => { |     const rsync = ({ privateKey, port, src, dest, args }) => { | ||||||
|  | |||||||
| @ -5,7 +5,9 @@ const commandExists = require('command-exists'); | |||||||
| const nodeCmd = require('node-cmd'); | const nodeCmd = require('node-cmd'); | ||||||
| const nodeRsync = require('rsyncwrapper'); | const nodeRsync = require('rsyncwrapper'); | ||||||
| 
 | 
 | ||||||
| const { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; | const vars = { REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_PRIVATE_KEY, DEPLOY_KEY_NAME, SOURCE, TARGET, ARGS, GITHUB_WORKSPACE, HOME } = process.env; | ||||||
|  | 
 | ||||||
|  | console.log(vars); | ||||||
| 
 | 
 | ||||||
| const sshDeploy = (() => { | const sshDeploy = (() => { | ||||||
|     const rsync = ({ privateKey, port, src, dest, args }) => { |     const rsync = ({ privateKey, port, src, dest, args }) => { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 GarryOne
						GarryOne