diff --git a/run.sh b/run.sh index a2fccfe..0382920 100644 --- a/run.sh +++ b/run.sh @@ -41,10 +41,12 @@ else surge_command="surge" fi +surge_command ="$surge_command $WERCKER_SURGE_DIRECTORY $WERCKER_SURGE_DOMAIN --token $WERCKER_SURGE_TOKEN" + debug "$surge_command" set +e -$surge_command public $WERCKER_SURGE_DOMAIN --token $WERCKER_SURGE_TOKEN +$surge_command result="$?" set -e diff --git a/wercker-step.yml b/wercker-step.yml index 2a1e8f4..4432f0c 100644 --- a/wercker-step.yml +++ b/wercker-step.yml @@ -1,5 +1,5 @@ name: surge-deploy -version: 0.1.2 +version: 0.1.3 description: Deploys a directory to surge.sh. keywords: - deploy