From f90558a85a6d15165f32d9e930cb16b01a826684 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 4 Oct 2016 23:33:05 +0200 Subject: [PATCH] add parameters properly --- run.sh | 1 + wercker-step.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index ca335eb..ed22e3a 100644 --- a/run.sh +++ b/run.sh @@ -41,6 +41,7 @@ else surge_command="surge" fi +SURGE_LOGIN=${WERCKER_SURGE_LOGIN} surge_command="${surge_command} ${WERCKER_SURGE_DIRECTORY} ${WERCKER_SURGE_DOMAIN} --token ${WERCKER_SURGE_TOKEN}" debug "$surge_command" diff --git a/wercker-step.yml b/wercker-step.yml index efa34b7..b39174c 100644 --- a/wercker-step.yml +++ b/wercker-step.yml @@ -1,5 +1,5 @@ name: surge-deploy -version: 0.1.5 +version: 0.1.6 description: Deploys a directory to surge.sh. keywords: - deploy