jean-cloud-services/services/chiloe.eu/deploy_http.sh
2023-10-31 17:00:18 +01:00

6 lines
205 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
. "$SECRET_DIR/.env"
rclone sync --config=/notfound --sftp-host sftp.jean-cloud.net --sftp-user chiloeRO --sftp-port 2929 --sftp-pass "$SFTP_PASS" :sftp:/public/ "$HTTP_DIR"