diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52b907b..8ba8338 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,4 @@ jobs: PORT: ${{ secrets.PORT }} with: source: "tests/a.txt,tests/b.txt" - target: "/home/deploy/test" - timeout: 30s - command_timeout: 30s + target: "test" diff --git a/entrypoint.sh b/entrypoint.sh index 24a5f84..2784ae2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,7 @@ set -eu export GITHUB="true" +[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" +[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" + sh -c "/bin/drone-scp $*"