easingthemes / ssh-deploy

GitHub Action for deploying code via rsync over ssh. (with NodeJS)
MIT License
1.19k stars 146 forks source link

According to the sample, but an error #158

Closed liushuai05 closed 1 year ago

liushuai05 commented 1 year ago
[DIR] Creating /***/.ssh dir in workspace ***
✅ [DIR] dir created.
[FILE] writing /***/.ssh/known_hosts file ... 0
✅ [SSH] known_hosts file ensured /***/.ssh
✅ [DIR] /***/.ssh dir exist
[FILE] writing /***/.ssh/deploy_key_***_1692089111899 file ... 3249
✅ [SSH] key added to `.ssh` dir  /***/.ssh deploy_key_***_1692089111899
/bin/sh: 1: rsync: not found
⚠️ [CLI] Rsync doesn't exists Command failed: rsync --version
[CLI] Start rsync installation with "apt-get" 
/bin/sh: 1: sudo: not found
❌ [ERROR] ⚠️ [CLI] Rsync installation failed. Aborting ... error: Command failed: sudo DEBIAN_FRONTEND=noninteractive apt-get -y update && sudo DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install rsync
liushuai05 commented 1 year ago

Reason as if my host machine system of execution is not the reason why the ubuntu (of course, I use a gitea actions), hope to get compatible support thank you very much My operating system is centos

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.