mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
11 lines
262 B
Bash
Executable file
11 lines
262 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "$SSH_PRIVATE_KEY" > ssh_key && chmod 0600 ssh_key
|
|
sftp -o StrictHostKeyChecking=no -i ssh_key $REMOTE_USER@$REMOTE_HOST <<END
|
|
cd /home/project-web/doublecmd/htdocs/snapshots
|
|
lcd /var/tmp/doublecmd-release
|
|
rm *.dmg
|
|
put *.dmg
|
|
put *.php
|
|
quit
|
|
END
|