From 234948238fdbe97eb7663352ba315022394176e7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 4 Oct 2016 23:06:37 +0200 Subject: [PATCH] lets try this --- run.sh | 4 +++- wercker-step.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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