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 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 rsync = ({ privateKey, port, src, dest, args }) => {
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,9 @@ const commandExists = require('command-exists');
 | 
			
		||||
const nodeCmd = require('node-cmd');
 | 
			
		||||
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 rsync = ({ privateKey, port, src, dest, args }) => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user