diff --git a/run.sh b/run.sh index ed22e3a..e989f40 100644 --- a/run.sh +++ b/run.sh @@ -41,8 +41,8 @@ else surge_command="surge" fi -SURGE_LOGIN=${WERCKER_SURGE_LOGIN} -surge_command="${surge_command} ${WERCKER_SURGE_DIRECTORY} ${WERCKER_SURGE_DOMAIN} --token ${WERCKER_SURGE_TOKEN}" +SURGE_LOGIN=${WERCKER_SURGE_DEPLOY_LOGIN} +surge_command="${surge_command} ${WERCKER_SURGE_DEPLOY_DIRECTORY} ${WERCKER_SURGE_DEPLOY_DOMAIN} --token ${WERCKER_SURGE_DEPLOY_TOKEN}" debug "$surge_command" diff --git a/wercker-step.yml b/wercker-step.yml index 429fff8..56384ca 100644 --- a/wercker-step.yml +++ b/wercker-step.yml @@ -1,5 +1,5 @@ name: surge-deploy -version: 0.1.7 +version: 0.1.8 description: Deploys a directory to surge.sh. keywords: - deploy