Switch over to sh
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-09-23 08:35:16 +02:00
parent 14f7ac7c0a
commit 1c4263ff5d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 5 additions and 5 deletions

View File

@ -6,4 +6,4 @@ COPY plugin.sh /plugin
WORKDIR /drone/src
CMD ["bash", "/plugin/plugin.sh"]
CMD ["sh", "/plugin/plugin.sh"]

View File

@ -1,16 +1,16 @@
#!/bin/bash
#!/bin/sh
function load_deploy_key {
load_deploy_key() {
echo "FOUND THE FOLLOWING SETTINGS..."
echo "$PLUGIN_DEPLOY_KEY"
echo "-------------------------------"
}
function run_stack_deploy {
run_stack_deploy() {
echo "TODO: run_stack_deploy"
}
function run_plugin {
run_plugin() {
load_deploy_key
run_stack_deploy
}