Commit Graph

19 Commits (05ddb6434787a5dd0131719a12f814b03ef20a6b)

Author SHA1 Message Date
Dragan Filipović ec9347f8c6
Feature/ssh cmd (#94)
* feat: Add SSH remote script support -  before and after rsync

* fix: remove __dirname

* feat: add sshCmdArgs option

* Add promise instead of callback

* fix: improve logs

* fix: Add simple command exists instead of a plugin

* add non interactive install

* feat: add onStderr and onStdout logs

* Improve reject messages

* feat: Add RSYNC_STDOUT env variable

* emoji updates

* fix: update workflow actions
2023-01-02 21:06:33 +01:00
Dragan Filipovic 45bf266280 Remove Key log 2022-12-31 10:30:19 +01:00
Dragan Filipovic 5404854e81 envz 2022-12-31 09:53:43 +01:00
Dragan Filipovic 4efe6b6c40 print vars 2022-12-31 09:48:17 +01:00
Dragan Filipovic 07265c8c95 RSYNC use excludeFirst instead of exclude 2021-03-24 18:48:12 +01:00
Peter Kracik 2b38f7bf7a Added exclude parameter 2021-03-12 07:42:12 +01:00
Dragan Filipovic 14eb503e62 [action] get input vars from ENV or WITH workflow settings 2020-07-01 00:54:24 +02:00
Dragan Filipovic 62063532be Merge branch 'master' into feature/SSH-DEPLOY-refactor
# Conflicts:
#	.gitignore
#	README.md
#	dist/index.js
#	src/index.js
2020-04-11 16:54:21 +02:00
Dragan Filipovic 460751d7c3 [code] split helpers into separate files 2020-04-11 16:29:20 +02:00
GarryOne 00e4d7e856 Added cmd to rsync error output 2020-03-27 01:10:01 +02:00
GarryOne 37e21b5b6b Added error display for rsync 2020-03-27 00:05:33 +02:00
GarryOne 19dbe22d4f Removed console.log 2020-03-26 23:47:55 +02:00
GarryOne 733f9fc153 Added console.log(process.env) 2020-03-26 23:27:22 +02:00
GarryOne f09a8d0277 Removed console.log() 2020-03-25 05:28:27 +02:00
GarryOne 82ccbba7dc Added field key to validation message 2020-03-25 05:20:29 +02:00
Mardari Igor 3f84fa4ae1
Set ssh to false 2020-03-25 04:50:26 +02:00
Leung-JZ caaa95b651
fix: 修复 ARGS 为空时导致 rsync 执行错误问题。
由于 ARGS 非必填,当其为空时,报错:

⚠️ An error happened:(. Cannot read property 'match' of undefined TypeError: Cannot read property 'match' of undefined
2020-03-12 09:16:23 +08:00
Filip Malinowski 0d77a6681b add optional `REMOTE_PORT` env to configuration 2019-12-29 18:17:28 +01:00
Dragan Filipovic 81256f2671 [engine] use NodeJS instead of Docker 2019-10-02 23:52:52 +02:00