diff --git a/.drone.yml b/.drone.yml index 24d2f23..7b7046f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,9 +20,8 @@ steps: - test target: /srv/web/test commands: - - echo $KEY - echo $HOST - - echo $test + - echo $TEST when: event: push branch: master \ No newline at end of file diff --git a/main.py b/main.py index 055b8dc..e4a78e6 100644 --- a/main.py +++ b/main.py @@ -113,7 +113,7 @@ def main(): sftp.close() for command in commands: - output = execute(ssh, command, target) + output = execute(ssh, command, target, envs) print(command) print(output)