This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
stack-ssh-deploy/plugin.sh

21 lines
295 B
Bash
Raw Normal View History

2020-09-23 06:35:16 +00:00
#!/bin/sh
2020-09-23 06:32:50 +00:00
2020-09-23 06:35:16 +00:00
load_deploy_key() {
2020-09-23 06:32:50 +00:00
echo "FOUND THE FOLLOWING SETTINGS..."
2020-09-23 06:45:35 +00:00
echo "$PLUGIN_HOST"
2020-09-23 06:32:50 +00:00
echo "$PLUGIN_DEPLOY_KEY"
echo "-------------------------------"
}
2020-09-23 06:35:16 +00:00
run_stack_deploy() {
2020-09-23 06:32:50 +00:00
echo "TODO: run_stack_deploy"
}
2020-09-23 06:35:16 +00:00
run_plugin() {
2020-09-23 06:32:50 +00:00
load_deploy_key
run_stack_deploy
}
run_plugin
exit 0