mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 01:15:49 +08:00
11 lines
No EOL
257 B
Bash
Executable file
11 lines
No EOL
257 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source .env
|
|
echo "Deploying backend to $BE_HOST with script $BE_SCRIPT_PATH"
|
|
|
|
# Connect to SSH and execute remote script
|
|
ssh_output=$(ssh "$BE_USER@$BE_HOST" "$BE_SCRIPT_PATH")
|
|
|
|
# Print the output
|
|
echo "Remote script output:"
|
|
echo "$ssh_output" |