Commit e8cc256
fix: replace sand4rt/ftp-deployer with inline sshpass+sftp
The third-party ftp-deployer action is replaced with a plain run: step
using only standard Linux tools available on ubuntu-latest runners.
Behaviour is identical:
- SFTP upload (port 22) of nvme-cli-* files to /upload/ on the server
- No remote cleanup
Security improvements over the old action:
- No untrusted third-party code runs in the workflow
- Server host key verified against SFTP_HOST_KEY secret (no TOFU)
- All secrets passed as environment variables, never on the command line
- known_hosts written fresh each run (> not >>)
- Glob guarded with [ -f ] to handle no-match safely
A new SFTP_HOST_KEY repository secret must be added. Its value is the
output of: ssh-keyscan <SFTP_SERVER>
Co-authored-by: igaw <[email protected]>1 parent c60b692 commit e8cc256
1 file changed
Lines changed: 17 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
0 commit comments